We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 968df6c commit 03f3e27Copy full SHA for 03f3e27
src/Twilio/Http/SystemNetHttpClient.cs
@@ -107,22 +107,7 @@ private HttpRequestMessage BuildHttpRequest(Request request)
107
string helperLibVersion = AssemblyInfomation.AssemblyInformationalVersion;
108
109
string osName = "Unknown";
110
-#if !NETSTANDARD1_4
111
osName = Environment.OSVersion.Platform.ToString();
112
-#else
113
- if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
114
- {
115
- osName = "Windows";
116
- }
117
- else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
118
119
- osName = "MacOS";
120
121
- else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
122
123
- osName = "Linux";
124
125
-#endif
126
127
string osArch;
128
#if !NET462
0 commit comments