RuntimeEnvironment.GetRuntimeIdentifier 在 netstandard2.0 中是否等效?
RuntimeEnvironment.GetRuntimeIdentifier Equivalent in netstandard2.0?
netstandard2.0 中是否有 RuntimeEnvironment.GetRuntimeIdentifier
等效项?我如何获得运行时标识符?
System.OperatingSystem.Platform
:
https://docs.microsoft.com/en-us/dotnet/api/system.operatingsystem.platform?view=netstandard-2.0
Environment.OSVersion.Platform
https://docs.microsoft.com/en-us/dotnet/api/system.operatingsystem?view=netstandard-2.01
netstandard2.0 中是否有 RuntimeEnvironment.GetRuntimeIdentifier
等效项?我如何获得运行时标识符?
System.OperatingSystem.Platform
:
https://docs.microsoft.com/en-us/dotnet/api/system.operatingsystem.platform?view=netstandard-2.0
Environment.OSVersion.Platform
https://docs.microsoft.com/en-us/dotnet/api/system.operatingsystem?view=netstandard-2.01