Runtime Services.Load Library Method
Loads a native library of the specified name, optionally
using the suggested location.
Definition
Namespace: Numerics.NET.Providers.InteropServices
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static void LoadLibrary(
string filename,
string? libraryPath
)
Parameters
Remarks
This method looks for the library in the following order:
- The platform folder under the path specified by libraryPath, if it was supplied.
- The path specified by libraryPath, if it was supplied.
- The platform folder under the path specified by NativeProviderPath, if it is not null or empty.
- The path specified by NativeProviderPath, if it is not null or empty.
- The platform folder under the path specified by
the
C# XO_LIBRARY_PATH
- The path specified by
the
C# XO_LIBRARY_PATH
- The platform folder under the base folder of the app domain.
- The base folder of the app domain.
- The platform folder under the folder that contains the executing assembly.
- The folder that contains the executing assembly.