A class for accessing HASP HL or Sentinel dongles.
Please use HASP Master Wizard Suite to generate your own runtime libraries. Than you get a couple of DLLs which you can load with this class. For the demo keys, you can use the demo DLLs.
The demo DLL for example is named "hasp_windows_x64_demo.dll" or including your vendor code "hasp_windows_x64_12345.dll" (64bit). 32bit Windows DLL is named hasp_windows_12345.dll, hasp_windows_demo.dll or haspvlib_12345.dll.
Now when you have the platform dependent libraries, you can use LoadLibrary() function in this class to load the right one.
HASPHLMBS uses a linked in library. This is okay for older HASP HL versions. But newer versions require you to create your own signed libraries. For them use the HASPHLDMBS class.
method HaspTimeToDateTime(time as memoryblock, byref day as Integer, byref month as Integer, byref year as Integer, byref hour as Integer, byref minute as Integer, byref second as Integer)
method LegacyDecryptMemory(Data as Memoryblock, DataOffset as Integer, Size as Integer)
shared method Detach(detachAction as string, scope as string, VendorCode as string, recipient as string, byref info as string) as Integer
shared method GetInfo(scope as string, format as string, VendorCode as string, byref info as string) as Integer
shared method GetVersion(byref MajorVersion as Integer, byref MinorVersion as Integer, byref BuildServer as Integer, byref BuildNumber as Integer, VendorCode as string) as Integer
shared method LoadLibrary(file as folderitem) as boolean
shared method LoadLibrary(path as string) as boolean
shared method Transfer(action as string, scope as string, VendorCode as string, recipient as string, byref info as string) as Integer