Runtime Services.Load Assembly 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.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static Assembly? LoadAssembly(
string baseFilename,
string? libraryPath
)
Parameters
- baseFilename String
- The filename of the library to load.
- libraryPath String
- (Optional.) The path where the library is located.
Return Value
AssemblyRemarks
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.