Gapotchenko.FX.Runtime.InteropServices
2026.7.2
Prefix Reserved
dotnet add package Gapotchenko.FX.Runtime.InteropServices --version 2026.7.2
NuGet\Install-Package Gapotchenko.FX.Runtime.InteropServices -Version 2026.7.2
<PackageReference Include="Gapotchenko.FX.Runtime.InteropServices" Version="2026.7.2" />
<PackageVersion Include="Gapotchenko.FX.Runtime.InteropServices" Version="2026.7.2" />
<PackageReference Include="Gapotchenko.FX.Runtime.InteropServices" />
paket add Gapotchenko.FX.Runtime.InteropServices --version 2026.7.2
#r "nuget: Gapotchenko.FX.Runtime.InteropServices, 2026.7.2"
#:package Gapotchenko.FX.Runtime.InteropServices@2026.7.2
#addin nuget:?package=Gapotchenko.FX.Runtime.InteropServices&version=2026.7.2
#tool nuget:?package=Gapotchenko.FX.Runtime.InteropServices&version=2026.7.2
Overview
Gapotchenko.FX.Runtime.InteropServices is a complementary module to System.Runtime.InteropServices which is provided as a part of .NET.
The module provides polyfills for functionality defined in System.Runtime.InteropServices BCL module.
Polyfills for Marshal
Marshal class provided by System.Runtime.InteropServices module got new methods in recent .NET versions:
GetLastPInvokeError()
Gapotchenko.FX.Runtime.InteropServices module makes them available for all supported target frameworks.
Polyfills for SafeBuffer
SafeBuffer class provided by System.Runtime.InteropServices module got new methods in recent .NET versions:
ReadSpan(ulong byteOffset, Span<byte> buffer)
Gapotchenko.FX.Runtime.InteropServices module makes them available for all supported target frameworks.
Other Modules
Let's continue with a look at some other modules provided by Gapotchenko.FX:
- Gapotchenko.FX
- Gapotchenko.FX.AppModel.Information
- Gapotchenko.FX.Collections
- Gapotchenko.FX.Console
- Gapotchenko.FX.Data
- Gapotchenko.FX.Diagnostics
- Gapotchenko.FX.IO
- Gapotchenko.FX.Linq
- Gapotchenko.FX.Math
- Gapotchenko.FX.Memory
- Gapotchenko.FX.Numerics ✱
- Gapotchenko.FX.Reflection.Loader ✱
- ➴ Gapotchenko.FX.Runtime.InteropServices ✱
- Gapotchenko.FX.Security.Cryptography
- Gapotchenko.FX.Text
- Gapotchenko.FX.Threading
- Gapotchenko.FX.Tuples
- Gapotchenko.FX.Versioning
Symbol ✱ denotes an advanced module.
Or take a look at the full list of modules.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Gapotchenko.FX (>= 2026.7.2)
- System.Buffers (>= 4.6.1)
- System.Memory (>= 4.6.3)
-
.NETStandard 2.0
- Gapotchenko.FX (>= 2026.7.2)
- System.Buffers (>= 4.6.1)
- System.Memory (>= 4.6.3)
-
.NETStandard 2.1
- Gapotchenko.FX (>= 2026.7.2)
-
net10.0
- Gapotchenko.FX (>= 2026.7.2)
-
net8.0
- Gapotchenko.FX (>= 2026.7.2)
-
net9.0
- Gapotchenko.FX (>= 2026.7.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.7.2 | 97 | 5/16/2026 |
| 2026.6.2 | 125 | 3/29/2026 |
| 2026.5.3 | 113 | 2/24/2026 |
| 2026.4.2 | 121 | 2/4/2026 |
| 2026.3.5 | 113 | 1/29/2026 |
| 2026.2.2 | 121 | 1/25/2026 |
| 2026.1.5 | 126 | 1/13/2026 |
| 2025.1.45 | 200 | 12/25/2025 |
| 2025.1.27-beta | 209 | 10/9/2025 |
| 2025.1.26-beta | 263 | 8/30/2025 |
| 2025.1.25-beta | 584 | 7/22/2025 |
| 2025.1.24-beta | 201 | 7/16/2025 |
| 2025.1.23-beta | 181 | 7/12/2025 |
| 2024.2.5 | 219 | 12/31/2024 |
| 2024.1.3 | 207 | 11/10/2024 |