Fixing incorrect platform in .NET user agent string
@@ -134,7 +134,7 @@ private static string GetPlatformString()
{
string platformName = "unknown";
#if NETSTANDARD2_0 || NETCOREAPP2_0
- if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
+ if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
platformName = "windows";
}
