Skip to main content
MonoAndroid1.0MonoTouch1.0.NETFramework4.5.NETFramework4.6.2.NETCore5.0.NETStandard1.1

Provides Windows/Legacy types that support COM interop and platform invoke services. Cross platform Interop types have been moved and forwarded to System.Runtime.InteropServices.PInvoke. Cross platform members of Marshal have also been moved to PInvokeMarshal in System.Runtime.InteropServices.PInvoke. Commonly Used Types: System.Runtime.InteropServices.COMException System.Runtime.InteropServices.Marshal \r\n TFS ID: 1599443, GitHub SHA: https://github.com/dotnet/corefx/tree/eede273a4dfabcea608621f5e1bbf8ad00584cfb

Published
May 16, 2016
10y ago
Total Downloads
3.8B
3,798,341,050

Install

dotnet add package System.Runtime.InteropServices --version 4.1.0-rc2-24027
ProductVersions
.NET Standard
netstandard1.1netstandard1.2netstandard1.3netstandard1.5
MonoAndroid
monoandroid1.0
MonoTouch
monotouch1.0
Other
.NETCore5.0.NETFramework4.5.NETFramework4.6.2.NETPortable0.0-Profile111Windows8.0WindowsPhoneApp8.1Xamarin.Mac2.0Xamarin.TVOS1.0Xamarin.WatchOS1.0Xamarin.iOS1.0

Changes from Previous Version

v4.0.21-beta-23516v4.1.0-rc2-24027
Added Frameworks
.NETFramework4.6.2.NETStandard1.1.NETStandard1.2.NETStandard1.3.NETStandard1.5.NETPortable0.0-Profile111Xamarin.TVOS1.0Xamarin.WatchOS1.0
Removed Frameworks
.NETPlatform5.2.NETPlatform5.3.NETPlatform5.4
Added Dependencies
System.Runtime(.NETFramework4.6.2)
System.Reflection(.NETStandard1.1)
System.Runtime(.NETStandard1.1)
System.Reflection(.NETStandard1.2)
System.Runtime(.NETStandard1.2)
System.Reflection(.NETStandard1.3)
System.Runtime(.NETStandard1.3)
System.Runtime.Handles(.NETStandard1.3)
System.Reflection(.NETStandard1.5)
System.Runtime(.NETStandard1.5)
+2 more
Removed Dependencies
System.Runtime(.NETPlatform5.2)
System.Reflection(.NETPlatform5.2)
System.Runtime(.NETPlatform5.3)
System.Reflection(.NETPlatform5.3)
System.Runtime(.NETPlatform5.4)
System.Reflection(.NETPlatform5.4)
System.Runtime.Handles(.NETPlatform5.4)

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 16 target frameworks; confirm the exact target used by your application.The published metadata declares 21 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.