diff --git a/src/corelib/CurrentPlatform.cs b/src/corelib/CurrentPlatform.cs index d21f0112..0a92ef58 100644 --- a/src/corelib/CurrentPlatform.cs +++ b/src/corelib/CurrentPlatform.cs @@ -6,7 +6,6 @@ using System; using System.Diagnostics; -using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Security.Permissions; @@ -229,7 +228,7 @@ public virtual void StartServiceRepair(string FullBinPath) /// /// Get information about operating system architecture for the HTTP_USER_AGENT header. /// - public virtual string OSArchitecture => RuntimeInformation.OSArchitecture.ToString().ToLower(CultureInfo.InvariantCulture); + public virtual string OSArchitecture => RuntimeInformation.OSArchitecture.ToString().ToLowerInvariant(); /// /// Get current operating system friendly name for the HTTP_USER_AGENT header.