aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorAndrew Rabert <ar@nullsum.net>2019-01-19 21:34:47 -0500
committerAndrew Rabert <ar@nullsum.net>2019-01-19 21:34:47 -0500
commit8a5198e6a395ed03fb471e62687fceecdf947abf (patch)
tree7b704bec6d8aba6f690cdad539dff2fdf2717668 /Emby.Server.Implementations/ApplicationHost.cs
parent469590c9c51f028da454e7e31bea0e37b8f91f15 (diff)
Remove ApplicationVersion
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index f0e2eec20..4da50d707 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -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