Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Return the results of a calculation performed in UniKey, using input provided by the developer and the CALCULATE1 function.
Notes:
See Unikey API Reference for details on UniKey_Calculate1 function.
Returns error code.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Return the results of a calculation performed in UniKey, using input provided by the developer and the CALCULATE2 function.
Notes:
See Unikey API Reference for details on UniKey_Calculate2 function.
Returns error code.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Return results of a calculation performed in UniKey, using input provided by the developer and the CALCULATE3 function.
Notes:
See Unikey API Reference for details on UniKey_Calculate3 function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.CheckModule(Module as Integer, byref Value as Integer, byref Decrease as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Read the attributes of a specific UniKey license module.
Notes:
See Unikey API Reference for details on UniKey_Check_Module function.
Returns error code.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Read the attributes of a specific UniKey Time license module.
Notes:
See Unikey API Reference for details on UniKey_Check_Time_Module function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.CheckTimeModuleNow(Module as Integer, byref RemainDays as Integer, byref RemainHours as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Read the attributes of a specific UniKey Time license module now.
Notes:
See Unikey API Reference for details on UniKey_Check_Time_Module_Now function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.CheckTimeModuleNowPC(Module as Integer, byref RemainDays as Integer, byref RemainHours as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Read the attributes of a specific UniKey Time license module Now PC.
Notes:
See Unikey API Reference for details on UniKey_Check_Time_Module_Now_PC function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.Decrypt(BufferLength as Integer, KeyNumber as Integer, Buffer as Ptr) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Decrypt an amount of memory with a key.
Notes:
The length of data must be a multiple of 8.
See Unikey API Reference for details on UniKey_Decrypt function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.Encrypt(BufferLength as Integer, KeyNumber as Integer, Buffer as Ptr) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Encrypt an amount of memory with a key.
Notes:
The length of data must be a multiple of 8.
See Unikey API Reference for details on UniKey_Encrypt function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.EraseTimeModule(Module as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Erase/Reset a real time module, and all the info in the module will be erased including start, end or duration.
Notes:
See Unikey API Reference for details on UniKey_Erase_Time_Module function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.Find(byref Setting1 as Integer, byref Setting2 as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Check if a specific UniKey is attached to the USB port.
Notes:
This is the first API to start a UniKey session.
Sets handle property.

See Unikey API Reference for details on UniKey_Find function.

Feedback, Comments & Corrections

UnikeyMBS.FindNext(byref Setting1 as Integer, byref Setting2 as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Check if another UniKey is attached to the USB port.
Notes:
Sets the handle property.
Returns error code.
See Unikey API Reference for details on UniKey_Find_Next function.

Feedback, Comments & Corrections

UnikeyMBS.GenerateKey(KeyNumber as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Generate a new key in the specific key storage.
Notes:
See Unikey API Reference for details on UniKey_Generate_Key function.
Returns error code.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Generate a new key in the specific key storage via seed.
Notes:
See Unikey API Reference for details on UniKey_Generate_Key_Via_Seed function.
Returns error code.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: 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.
Notes:
See Unikey API Reference for details on UniKey_Generate_New_Password function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.GetCliNum(byref Count as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Get the UniKey client number.
Notes:
See Unikey API Reference for details on UniKey_Get_Cli_Num function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.GetDongleLocation(byref IP as String) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Get the Server IP, if it is local, return 127.0.0.1.
Notes:
See Unikey API Reference for details on UniKey_Get_Dongle_Location function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.GetMaxNum(byref Count as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Get the maximum client number.
Notes:
See Unikey API Reference for details on UniKey_Get_Max_Num function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.GetModule(Module as Integer, byref Value as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Get a value from a specific UniKey license module.
Notes:
See Unikey API Reference for details on UniKey_Get_Module function.
Returns error code.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Reads the end time of a specific UniKey Time license module.
Notes:
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.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Reads the start time of a specific UniKey Time license module.
Notes:
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.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Get UniKey Time’s real time clock’s time.
Notes:
See Unikey API Reference for details on UniKey_Get_Time function.
Returns error code.
Year is 10 for 2010.

Feedback, Comments & Corrections

UnikeyMBS.GetType(byref type as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: GetType can help you get the type of the UniKey dongle.
Notes:
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.

Feedback, Comments & Corrections

UnikeyMBS.GetVersion(byref Version as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Get the current UniKey library version.
Notes:
See Unikey API Reference for details on UniKey_Get_Version function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.Logoff as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Logoff a UniKey dongle with a specific handle.
Notes:
This API should be called at the end of UniKey session.
See Unikey API Reference for details on UniKey_Logoff function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.MD5(BufferLength as Integer, Buffer as Ptr) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Make an MD5 digest for a mount of content or data.
Notes:
See Unikey API Reference for details on UniKey_MD5 function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.ModuleDecrease(Module as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Decrease the value in a specified UniKey license module by “1”.
Notes:
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.

Feedback, Comments & Corrections

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 Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Generate a random number from the dongle.
Notes:
See Unikey API Reference for details on UniKey_Random function.
Returns error code.

Feedback, Comments & Corrections

UnikeyMBS.ReadMemory(StartAddress as Integer, BufferLength as Integer, Buffer as Ptr) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Dongle MBS Dongle Plugin 16.4 Yes Yes Yes Yes No
Function: Read the contents of the Memory.
Notes:
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.

Feedback, Comments & Corrections

Next items

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




Links
MBS Xojo Plugins