System.Runtime.InteropServices.RuntimeInformation
4.3.0
Requires NuGet 2.12 or higher.
Install-Package System.Runtime.InteropServices.RuntimeInformation -Version 4.3.0
dotnet add package System.Runtime.InteropServices.RuntimeInformation --version 4.3.0
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
paket add System.Runtime.InteropServices.RuntimeInformation --version 4.3.0
#r "nuget: System.Runtime.InteropServices.RuntimeInformation, 4.3.0"
// Install System.Runtime.InteropServices.RuntimeInformation as a Cake Addin
#addin nuget:?package=System.Runtime.InteropServices.RuntimeInformation&version=4.3.0
// Install System.Runtime.InteropServices.RuntimeInformation as a Cake Tool
#tool nuget:?package=System.Runtime.InteropServices.RuntimeInformation&version=4.3.0
Provides APIs to query about runtime and OS information.
Commonly Used Types:
System.Runtime.InteropServices.RuntimeInformation
System.Runtime.InteropServices.OSPlatform
When using NuGet 3.x this package requires at least version 3.4.
| Product | Versions |
|---|---|
| .NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
| .NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
| .NET Standard | netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
| .NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
| MonoAndroid | monoandroid monoandroid10 |
| MonoMac | monomac |
| MonoTouch | monotouch monotouch10 |
| Tizen | tizen30 tizen40 tizen60 |
| Universal Windows Platform | netcore50 uap uap10.0 |
| Windows Phone | wpa81 |
| Windows Store | netcore netcore45 netcore451 win8 |
| Xamarin.iOS | xamarinios xamarinios10 |
| Xamarin.Mac | xamarinmac xamarinmac20 |
| Xamarin.TVOS | xamarintvos xamarintvos10 |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos10 |
-
.NETCore 5.0
- Microsoft.NETCore.Platforms (>= 1.1.0)
- System.Reflection (>= 4.3.0)
- System.Reflection.Extensions (>= 4.3.0)
- System.Resources.ResourceManager (>= 4.3.0)
- System.Runtime (>= 4.3.0)
- System.Threading (>= 4.3.0)
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.1
- runtime.native.System (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Reflection.Extensions (>= 4.3.0)
- System.Resources.ResourceManager (>= 4.3.0)
- System.Runtime (>= 4.3.0)
- System.Runtime.InteropServices (>= 4.3.0)
- System.Threading (>= 4.3.0)
-
MonoAndroid 1.0
- No dependencies.
-
MonoTouch 1.0
- No dependencies.
-
Windows 8.0
- No dependencies.
-
WindowsPhoneApp 8.1
- No dependencies.
-
Xamarin.iOS 1.0
- No dependencies.
-
Xamarin.Mac 2.0
- No dependencies.
-
Xamarin.TVOS 1.0
- No dependencies.
-
Xamarin.WatchOS 1.0
- No dependencies.
NuGet packages (27)
Showing the top 5 NuGet packages that depend on System.Runtime.InteropServices.RuntimeInformation:
| Package | Downloads |
|---|---|
|
Serilog.Sinks.Console
A Serilog sink that writes log events to the console/terminal. |
|
|
NETStandard.Library
A set of standard .NET APIs that are prescribed to be used and supported together. 18a36291e48808fa7ef2d00a764ceb1ec95645a5 When using NuGet 3.x this package requires at least version 3.4. |
|
|
Microsoft.DotNet.InternalAbstractions
Abstractions for making code that uses file system and environment testable. |
|
|
Microsoft.DotNet.PlatformAbstractions
Abstractions for making code that uses file system and environment testable. |
|
|
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files. |