Method LoadLibrary
LoadLibrary(string)
Loads the specified native library using the platform-specific loader.
public static nint LoadLibrary(string libraryName)
Parameters
libraryNamestringThe library file name or full path.
Returns
- nint
A handle to the loaded native library, or
IntPtr.Zeroon failure.