NativeLibraryUtilities by RobotDotNet

<PackageReference Include="NativeLibraryUtilities" Version="1.0.3" />

 ILibraryLoader

public interface ILibraryLoader
Interface for platform specific native interface to the library
IntPtr NativeLibraryHandle { get; }

Gets the native library handle for the library

IntPtr GetProcAddress(string name)

Gets the address of a specific entry point in the native library

void LoadLibrary(string filename)

Loads the library from the specified file name

Unloads the native library