SetLibPath method in LDK .NET DLL

HASP .NET interface exposes a method SetLibPath which add the newly specified path, that allows overriding the default search path to default search path for finding the associated vendor specific Licensing API library (i.e. hasp_windows_XXX.dll).

// Updating the default path for loading the Licensing API library
    
hasp.SetLibPath(“C:\my_binary_directory”);

So now your .Net application will search Licensing API library at “C:\my_binary_directory” path. This new path specified through this method would be the first location that will be searched for Licensing API library.