From 8a5198e6a395ed03fb471e62687fceecdf947abf Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Sat, 19 Jan 2019 21:34:47 -0500 Subject: Remove ApplicationVersion --- Emby.Server.Implementations/ApplicationHost.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Emby.Server.Implementations') 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; - /// - /// Gets the current application server version - /// - /// The application server version. - 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); /// /// Gets the current application server version -- cgit v1.2.3