NativeLibrary class
Provides APIs for managing native libraries.
C#
public static class NativeLibrary
Public Members
name | description |
---|---|
static GetExport(…) | Gets the address of an exported symbol. |
static GetMainProgramHandle() | Gets a handle that can be used with GetExport to resolve exports from the entry point module. |
static Load(…) | Loads a native library using default flags. |
static TryGetExport(…) |
Remarks
The System.Runtime.InteropServices.NativeLibrary class is not available in .NET Framework, and is missing some methods before .NET 7. This fills in those APIs.