Table of Contents

Method NativeLibraryTryLoad

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

NativeLibraryTryLoad(string, out nint)

Tries to load native library using NativeLibrary.TryLoad.

public static bool NativeLibraryTryLoad(string libraryPath, out nint handle)

Parameters

libraryPath string

The path to the library to load.

handle nint

The handle to the loaded library.

Returns

bool

true if the library was loaded successfully; otherwise, false.