RuntimeServices.TryLoadAssembly Method

Attempts to load an assembly.

Definition

Namespace: Numerics.NET.Providers.InteropServices
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
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

Boolean
true if the assembly was loaded successfully; otherwise false.

See Also