Remove ApplicationVersion

This commit is contained in:
Andrew Rabert
2019-01-19 21:34:47 -05:00
parent 469590c9c5
commit 8a5198e6a3
3 changed files with 4 additions and 17 deletions

View File

@@ -429,14 +429,7 @@ namespace Emby.Server.Implementations
_validAddressResults.Clear();
}
private Version _applicationVersion;
/// <summary>
/// Gets the current application server version
/// </summary>
/// <value>The application server version.</value>
public Version ApplicationVersion => _applicationVersion ?? (_applicationVersion = typeof(ApplicationHost).Assembly.GetName().Version);
public string ApplicationSemanticVersion => ApplicationVersion.ToString(3);
public string ApplicationSemanticVersion => typeof(ApplicationHost).Assembly.GetName().Version.ToString(3);
/// <summary>
/// Gets the current application server version