Runtime Services.Try Load Assembly Method
Attempts to load an assembly.
Definition
Namespace: Numerics.NET.Providers.InteropServices
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
true if the assembly was loaded successfully; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static bool TryLoadAssembly(
string baseFilename,
string? libraryPath,
out Assembly assembly
)
Parameters
- baseFilename String
- The base name of the assembly, with placeholders for the platform (x64 or x86) and the .NET version.
- libraryPath String
- The location of the assembly.
- assembly Assembly
- On return, the loaded assembly.
Return Value
Booleantrue if the assembly was loaded successfully; otherwise false.