Table of Contents

Method NativeLibraryLoad

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

NativeLibraryLoad(string, Assembly, DllImportSearchPath?)

Loads native library using NativeLibrary.Load.

public static nint NativeLibraryLoad(string libraryName, Assembly assembly, DllImportSearchPath? searchPath)

Parameters

libraryName string

The name of the library to load.

assembly Assembly

The assembly loading the native library.

searchPath DllImportSearchPath?

The search path for the library.

Returns

nint

The handle to the loaded library.

NativeLibraryLoad(string)

Loads native library using NativeLibrary.Load.

public static nint NativeLibraryLoad(string libraryPath)

Parameters

libraryPath string

Returns

nint