Runtime Services.Load Library Method
Loads a native library of the specified name, optionally
using the suggested location.
Definition
Namespace: Extreme.Providers.InteropServices
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static void LoadLibrary(
string filename,
string libraryPath
)
Parameters
- filename String
- The filename of the library to load.
- libraryPath String
- (Optional.) The path where the library is located.
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.