mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Added ApplicationVersion to BaseKernel
This commit is contained in:
parent
437f89547e
commit
7e077ed913
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user