The module SGLockMBSmodule SGLockMBS
|module||Dongle||MBS Dongle Plugin||18.5||✅ Yes||✅ Yes||✅ Yes||❌ No||Desktop, Console & Web|
Please read manual from SG Intec for details.
Works on all platforms (except iOS) in case you have a matching dylib/dll/so file.
- method Authenticate(AuthentCode as MemoryBlock)
- method Authenticate(AuthentCode() as UInt32)
- method CloseLibrary
- method CryptLock(ProductId as UInt32, KeyNum as UInt32, CryptMode as UInt32, Data as MemoryBlock) as MemoryBlock
- method LoadLibraryFile(File as folderItem) as boolean
- method LoadLibraryPath(Path as String) as boolean
- method ReadConfig(ProductId as UInt32, Category as UInt32 = 0) as MemoryBlock
- method ReadCounter(ProductId as UInt32, CntNum as UInt32) as UInt32
- method ReadData(ProductId as UInt32, Address as UInt32, LongCount as UInt32) as MemoryBlock
- method ReadProductId as UInt32
- method ReadSerialNumber(ProductId as UInt32) as UInt32
- method SearchLock(ProductId as UInt32) as Boolean
- method SignData(ProductId as UInt32, AppSignKey as MemoryBlock, LockSignKeyNum as UInt32, LockSignInterval as UInt32 = 0, Data as MemoryBlock) as MemoryBlock
- method TeaDecipher(data as MemoryBlock, Key as MemoryBlock) as MemoryBlock
- method TeaEncipher(data as MemoryBlock, Key as MemoryBlock) as MemoryBlock
- method VerifyData(ProductId as UInt32, AppSignKey as MemoryBlock, LockSignKeyNum as UInt32, LockSignInterval as UInt32 = 0, Data as MemoryBlock, Signature as MemoryBlock) as Boolean
- method WriteCounter(ProductId as UInt32, CntNum as UInt32, Data as UInt32)
- method WriteData(ProductId as UInt32, Address as UInt32, Data as MemoryBlock)
- method WriteKey(ProductId as UInt32, Address as UInt32, Key as MemoryBlock)
- method WriteProductId(OldProductId as UInt32, NewProductId as UInt32) as Boolean
- property Available as Boolean
- property CounterCount as UInt32
- property HardwareVersion as UInt32
- property InterfaceType as UInt32
- property KeyCount as UInt32
- property Lasterror as Integer
- property LibraryError as String
- property MemorySize as UInt32
- property MemorySizeBytes as UInt32
- property SerialNumber as UInt32
- property SoftwareVersion as UInt32
- property Type as UInt32
Authentification with Authenticate failed.
Authentication with Authenticate function not or not error free processed.
Dongle not found.
The called function is not supported by the found SG-Lock.
The LPT (printer port) is busy.
The LPT (printer port) could not be opened.
The LPT (printer port) was not found.
Parameter of the called function is out of the vaild value range.
Another application is claming the SG-Lock for more than 5 seconds.
Printer port connection.
Sign the data.
Verify the signature.
Some examples which use this module:
- MonkeyBread Software Releases the MBS Xojo Plugins in version 18.5
- MBS Xojo Plugins, version 18.5pr8
The items on this page are in the following plugins: MBS Dongle Plugin.