System.Runtime.InteropServices 4.3.0

.NET Core 1.1 .NET Standard 1.1 .NET Framework 4.5

Requires NuGet 2.12 or higher.

dotnet add package System.Runtime.InteropServices --version 4.3.0
NuGet\Install-Package System.Runtime.InteropServices -Version 4.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Runtime.InteropServices --version 4.3.0
#r "nuget: System.Runtime.InteropServices, 4.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.Runtime.InteropServices as a Cake Addin
#addin nuget:?package=System.Runtime.InteropServices&version=4.3.0

// Install System.Runtime.InteropServices as a Cake Tool
#tool nuget:?package=System.Runtime.InteropServices&version=4.3.0

Provides types that support COM interop and platform invoke services.

Commonly Used Types:
System.Runtime.InteropServices.GCHandle
System.Runtime.InteropServices.GuidAttribute
System.Runtime.InteropServices.COMException
System.DllNotFoundException
System.Runtime.InteropServices.DllImportAttribute

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
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (521)

Showing the top 5 NuGet packages that depend on System.Runtime.InteropServices:

Package Downloads
System.Memory The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides types for efficient representation and pooling of managed, stack, and native memory segments and sequences of such segments, along with primitives to parse and format UTF-8 encoded text stored in those memory segments. Commonly Used Types: System.Span System.ReadOnlySpan System.Memory System.ReadOnlyMemory System.Buffers.MemoryPool System.Buffers.ReadOnlySequence System.Buffers.Text.Utf8Parser System.Buffers.Text.Utf8Formatter 32b491939fbd125f304031c35038b1e14b4e3958 When using NuGet 3.x this package requires at least version 3.4.

System.Security.Cryptography.Cng The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides cryptographic algorithm implementations and key management with Windows Cryptographic Next Generation API (CNG). Commonly Used Types: System.Security.Cryptography.RSACng System.Security.Cryptography.ECDsaCng System.Security.Cryptography.CngKey

System.Reflection.Emit The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides classes that allow a compiler or tool to emit metadata and optionally generate a PE file on disk. The primary clients of these classes are script engines and compilers. Commonly Used Types: System.Reflection.Emit.AssemblyBuilder System.Reflection.Emit.FieldBuilder System.Reflection.Emit.TypeBuilder System.Reflection.Emit.MethodBuilder System.Reflection.Emit.ConstructorBuilder System.Reflection.Emit.GenericTypeParameterBuilder System.Reflection.Emit.ModuleBuilder System.Reflection.Emit.PropertyBuilder System.Reflection.Emit.AssemblyBuilderAccess System.Reflection.Emit.EventBuilder When using NuGet 3.x this package requires at least version 3.4.

System.Net.Http The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides a programming interface for modern HTTP applications, including HTTP client components that allow applications to consume web services over HTTP and HTTP components that can be used by both clients and servers for parsing HTTP headers. Commonly Used Types: System.Net.Http.HttpResponseMessage System.Net.Http.DelegatingHandler System.Net.Http.HttpRequestException System.Net.Http.HttpClient System.Net.Http.MultipartContent System.Net.Http.Headers.HttpContentHeaders System.Net.Http.HttpClientHandler System.Net.Http.StreamContent System.Net.Http.FormUrlEncodedContent System.Net.Http.HttpMessageHandler When using NuGet 3.x this package requires at least version 3.4.

NETStandard.Library The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

GitHub repositories (329)

Showing the top 5 popular GitHub repositories that depend on System.Runtime.InteropServices:

Repository Stars
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
JeffreySu/WeiXinMPSDK
微信全平台 SDK Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 6.0、.NET 7.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
reactiveui/ReactiveUI
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
NancyFx/Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
Version Downloads Last updated
4.3.0 565,917,815 11/15/2016
4.3.0-preview1-24530-04 416,333 10/24/2016
4.1.0 482,148,776 6/27/2016
4.1.0-rc2-24027 11,514,070 5/16/2016
4.0.21-beta-23516 483,179 11/18/2015
4.0.21-beta-23409 398,382 10/15/2015
4.0.21-beta-23225 253,585 9/2/2015
4.0.20 3,810,449 7/29/2015
4.0.20-beta-23109 171,407 7/27/2015
4.0.20-beta-23019 87,926 6/30/2015
4.0.20-beta-22816 75,076 4/24/2015
4.0.20-beta-22605 20,991 2/13/2015
4.0.20-beta-22416 11,223 1/16/2015
4.0.20-beta-22231 80,007 11/11/2014
4.0.10 239,320 7/29/2015
4.0.10-beta-23109 2,122 7/27/2015
4.0.10-beta-23019 2,859 6/30/2015
4.0.0 2,066,019 7/29/2015
4.0.0-beta-23109 94,900 7/27/2015
4.0.0-beta-23019 159,992 6/30/2015