Added ApplicationVersion to BaseKernel

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-08-19 17:29:15 -04:00
parent 437f89547e
commit 7e077ed913

View File

@ -252,5 +252,16 @@ namespace MediaBrowser.Common.Kernel
Logger.LoggerInstance.Dispose(); Logger.LoggerInstance.Dispose();
} }
} }
/// <summary>
/// Gets the current application version
/// </summary>
public Version ApplicationVersion
{
get
{
return GetType().Assembly.GetName().Version;
}
}
} }
} }