![]() |
SystemEX
Lacking
Additional generic collection types missing in .net
|
Provides a high‑level management layer for native modules and their exported functions.
NativeHost maintains an internal cache of loaded modules to avoid redundant loading operations and to ensure that multiple components referencing the same library share a single module instance.
It also provides helper methods for resolving native function pointers and converting them into managed delegates.
More...
Topics | |
| Platform | |
Provides Linux-specific native module loading and symbol resolution using the libdl API. This backend is responsible for locating shared objects (.so), loading them via dlopen, resolving exported functions via dlsym, and unloading modules via dlclose. | |
Classes | |
| class | SystemEx.Runtime.InteropServices.NativeHost |
| class | SystemEx.Runtime.Module |
Provides a high‑level management layer for native modules and their exported functions.
NativeHost maintains an internal cache of loaded modules to avoid redundant loading operations and to ensure that multiple components referencing the same library share a single module instance.
It also provides helper methods for resolving native function pointers and converting them into managed delegates.
Represents a loaded native module (DLL, SO, or DYLIB).
A Module encapsulates the operating system handle of the loaded library and provides helper methods for resolving exported functions and unloading the module.