Reputation: 8193
Is there a RuntimeEnvironment.GetRuntimeIdentifier
equivalent in netstandard2.0? How would i get the runtime identifier?
Upvotes: 1
Views: 402
Reputation: 6408
Environment.OSVersion.Platform
https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem?view=netstandard-2.01
Upvotes: 1
Reputation: 1095
System.OperatingSystem.Platform
:
https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.platform?view=netstandard-2.0
Upvotes: 1