Added ApplicationVersion to BaseKernel
This commit is contained in:
parent
437f89547e
commit
7e077ed913
|
@ -252,5 +252,16 @@ namespace MediaBrowser.Common.Kernel
|
|||
Logger.LoggerInstance.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current application version
|
||||
/// </summary>
|
||||
public Version ApplicationVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
return GetType().Assembly.GetName().Version;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user