Class DynDll
public static class DynDll
- Inheritance
-
DynDll
Properties
- DllExtension
- Specifies the file extension, if any, used for shared libraries on this platform that goes after the dot.
An example value may be:
"dll","dylib", or"so".
- DllPrefix
- Specifies the file name prefix, if any, used for shared libraries on this platform.
This is either
"lib"or an empty string.
- DllSuffix
- Specifies the file name suffix, if any, used for shared libraries on this platform.
An example value may be:
".dll",".dylib", or".so". The possible values are identical to those of DllExtension, but with the leading period included.
- ExeExtension
- Specifies the file extension, if any, used for executable binaries on this platform.
An example value may be:
"exe", or an empty string.
- ExeSuffix
- Specifies the file name suffix, if any, used for executable binaries on this platform.
An example value may be:
".exe", or an empty string. The possible values are identical to those of ExeExtension, but with the leading period included.
Methods
- CloseLibrary(nint)
- Release a library handle obtained from OpenLibrary(string?) or TryOpenLibrary(string?, out nint).
- GetExport(nint, string)
- Get a pointer to an export from the given library.
- MakeDllName(string)
- Constructs a conventional shared library file name by wrapping the specified
namein DllPrefix and DllSuffix.
- OpenLibrary(string?)
- Open a given library and get its handle.
- TryCloseLibrary(nint)
- Try to close a library handle obtained from OpenLibrary(string?) or TryOpenLibrary(string?, out nint).
- TryGetExport(nint, string, out nint)
- Get a pointer to an export from the given library.
- TryOpenLibrary(string?, out nint)
- Try to open a given library and get its handle.