Platforms to show: All Mac Windows Linux Cross-Platform

Back to UnikeyMBS class.

UnikeyMBS.GenerateKey(KeyNumber 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
Generate a new key in the specific key storage.

See Unikey API Reference for details on UniKey_Generate_Key function.
Returns error code.

UnikeyMBS.GenerateKeyViaSeed(KeyNumber as Integer, byref Seed1 as Integer, byref Seed2 as Integer, byref Seed3 as Integer, byref Seed4 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
Generate a new key in the specific key storage via seed.

See Unikey API Reference for details on UniKey_Generate_Key_Via_Seed function.
Returns error code.

UnikeyMBS.GenerateNewPassword(Seed as Integer, byref Password1 as Integer, byref Password2 as Integer, byref Password3 as Integer, byref Password4 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
Generate a new password via a seed code; the mapping from the seed code to the password is only one way. Without the seed, you cannot generate the same password.

See Unikey API Reference for details on UniKey_Generate_New_Password function.
Returns error code.

UnikeyMBS.GetCliNum(byref Count 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
Get the UniKey client number.

See Unikey API Reference for details on UniKey_Get_Cli_Num function.
Returns error code.

UnikeyMBS.GetDongleLocation(byref IP as String) 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
Get the Server IP, if it is local, return 127.0.0.1.

See Unikey API Reference for details on UniKey_Get_Dongle_Location function.
Returns error code.

UnikeyMBS.GetMaxNum(byref Count 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
Get the maximum client number.

See Unikey API Reference for details on UniKey_Get_Max_Num function.
Returns error code.

UnikeyMBS.GetModule(Module as Integer, byref Value 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
Get a value from a specific UniKey license module.

See Unikey API Reference for details on UniKey_Get_Module function.
Returns error code.

UnikeyMBS.GetModuleEndTime(Module as Integer, byref Year as Integer, byref Month as Integer, byref Day as Integer, byref 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
Reads the end time of a specific UniKey Time license module.

See Unikey API Reference for details on UniKey_Get_Module_End_Time function.
Returns error code.

Not supported for 64-bit Linux and Mac PPC.

UnikeyMBS.GetModuleStartTime(Module as Integer, byref Year as Integer, byref Month as Integer, byref Day as Integer, byref 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
Reads the start time of a specific UniKey Time license module.

See Unikey API Reference for details on UniKey_Get_Module_Start_Time function.
Returns error code.

Not supported for 64-bit Linux and Mac PPC.

UnikeyMBS.GetTime(byref Year as Integer, byref Month as Integer, byref Day as Integer, byref Hour as Integer, byref Minute as Integer, byref Second 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
Get UniKey Time’s real time clock’s time.

See Unikey API Reference for details on UniKey_Get_Time function.
Returns error code.
Year is 10 for 2010.

UnikeyMBS.GetType(byref type 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
GetType can help you get the type of the UniKey dongle.

The return value of type will indicate the type of the UniKey dongle.
UNIKEY_TYPE_TIME 101
UNIKEY_TYPE_PRO 102
UNIKEY_TYPE_STD 103

See Unikey API Reference for details on UniKey_Get_Type function.

UnikeyMBS.GetVersion(byref Version 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
Get the current UniKey library version.

See Unikey API Reference for details on UniKey_Get_Version function.
Returns error code.

The items on this page are in the following plugins: MBS Dongle Plugin.


The biggest plugin in space...