Platforms to show: All Mac Windows Linux Cross-Platform
Back to UnikeyMBS class.
UnikeyMBS.Calculate1(StartAddress as Integer, Module as Integer, byref RegA as Integer, byref RegB as Integer, byref RegC as Integer, byref RegD as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Calculate1 function.
Returns error code.
Some examples using this method:
UnikeyMBS.Calculate2(StartAddress as Integer, Seed as Integer, byref RegA as Integer, byref RegB as Integer, byref RegC as Integer, byref RegD as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Calculate2 function.
Returns error code.
Some examples using this method:
UnikeyMBS.Calculate3(StartAddress as Integer, Module as Integer, byref RegA as Integer, byref RegB as Integer, byref RegC as Integer, byref RegD as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Calculate3 function.
Returns error code.
Some examples using this method:
UnikeyMBS.CheckModule(Module as Integer, byref Value as Integer, byref Decrease as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Check_Module function.
Returns error code.
UnikeyMBS.CheckTimeModule(Module as Integer, byref RemainDays as Integer, Year as Integer, Month as Integer, Day as Integer, Hour as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Check_Time_Module function.
Returns error code.
UnikeyMBS.CheckTimeModuleNow(Module as Integer, byref RemainDays as Integer, byref RemainHours as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Check_Time_Module_Now function.
Returns error code.
UnikeyMBS.CheckTimeModuleNowPC(Module as Integer, byref RemainDays as Integer, byref RemainHours as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Check_Time_Module_Now_PC function.
Returns error code.
UnikeyMBS.Decrypt(BufferLength as Integer, KeyNumber as Integer, Buffer as Ptr) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The length of data must be a multiple of 8.
See Unikey API Reference for details on UniKey_Decrypt function.
Returns error code.
UnikeyMBS.Encrypt(BufferLength as Integer, KeyNumber as Integer, Buffer as Ptr) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The length of data must be a multiple of 8.
See Unikey API Reference for details on UniKey_Encrypt function.
Returns error code.
UnikeyMBS.EraseTimeModule(Module as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Erase_Time_Module function.
Returns error code.
UnikeyMBS.Find(byref Setting1 as Integer, byref Setting2 as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This is the first API to start a UniKey session.
Sets handle property.
See Unikey API Reference for details on UniKey_Find function.
UnikeyMBS.FindNext(byref Setting1 as Integer, byref Setting2 as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Sets the handle property.
Returns error code.
See Unikey API Reference for details on UniKey_Find_Next function.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 19.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This API should be called at the end of UniKey session.
See Unikey API Reference for details on UniKey_Logoff function.
Returns error code.
UnikeyMBS.MD5(BufferLength as Integer, Buffer as Ptr) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_MD5 function.
Returns error code.
UnikeyMBS.ModuleDecrease(Module as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Module_Decrease function.
Returns error code.
For Linux, does not work on Linux ARM or 32-bit Linux. Works on 64-bit Linux.
UnikeyMBS.Random(byref Return1 as Integer, byref Return2 as Integer, byref Return3 as Integer, byref Return4 as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Random function.
Returns error code.
Some examples using this method:
UnikeyMBS.ReadMemory(StartAddress as Integer, BufferLength as Integer, Buffer as Ptr) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This API needs to be called after logon of a UniKey dongle.
See Unikey API Reference for details on UniKey_Read_Memory function.
Returns error code.
UnikeyMBS.ReadSoftID(byref SoftID as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Read_SoftID function.
Returns error code.
UnikeyMBS.ReadUpdateTag(byref UpdateTag as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Read_UpdateTag function.
Returns error code.
UnikeyMBS.Unikey(FunctionCode as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 7.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the unikey documentation for what values to use.
Some examples using this method:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 19.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
UnikeyMBS.UserLogon(Password1 as Integer, Password2 as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This API should be called in the released software in order to improve security.
See Unikey API Reference for details on UniKey_User_Logon function.
Returns error code.
Sets handle property.
Some examples using this method:
UnikeyMBS.VendorLogon(Password1 as Integer, Password2 as Integer, Password3 as Integer, Password4 as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This API helps software vendors to logon the UniKey dongle in vendor mode, and get the full permission to UniKey dongle.
We do NOT advise you to enclose this API in the final released software. This API is only for software vendor’s usage.
If password3 or password4 is wrong while password1 and password2 is correct, the dongle is also logged on in user mode automatically.
Sets handle property.
See Unikey API Reference for details on UniKey_Vender_Logon function.
Returns error code.
Not supported on Linux.
Some examples using this method:
UnikeyMBS.WriteArithmetic(StartAddress as Integer, Buffer as Ptr) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Write_Arithmetic function.
Returns error code.
UnikeyMBS.WriteMemory(StartAddress as Integer, BufferLength as Integer, Buffer as Ptr) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This API needs to be called after logging on to a UniKey dongle.
See Unikey API Reference for details on UniKey_Write_Memory function.
Returns error code.
UnikeyMBS.WriteSoftID(SoftID as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Write_SoftID function.
Returns error code.
UnikeyMBS.WriteUpdateTag(UpdateTag as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Dongle | MBS Dongle Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Unikey API Reference for details on UniKey_Write_UpdateTag function.
Returns error code.
The items on this page are in the following plugins: MBS Dongle Plugin.