Method FreeLibrary
FreeLibrary(nint)
Releases the specified dynamically loaded library, freeing associated resources.
public static bool FreeLibrary(nint library)
Parameters
Returns
Remarks
This method determines the operating system at runtime and invokes the appropriate platform-specific library release function. Ensure that the handle passed to this method was obtained from a compatible library loading mechanism.