The module SGLockMBS

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

The module SGLockMBS

module SGLockMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
module Dongle MBS Dongle Plugin 18.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The MBS Module for using SG-Lock dongles in Xojo.

See website:
https://www.sg-lock.com

Please read manual from SG Intec for details.

Works on all platforms (except iOS) in case you have a matching dylib/dll/so file.

SG-Lock Types

Constant Value Description
kConfigLockSeries2 1 Series 2
kConfigLockSeries3 2 Series 3
kConfigLockSeries4 3 Series 4

Crypto Modes

Constant Value Description
kCryptModeDecrypt 1 Decrypt it
kCryptModeEncrypt 0 Encrypt it

Errors

Constant Value Description
kErrorAuthenticationFailed 6 Authentification with Authenticate failed.
kErrorAuthenticationRequired 5 Authentication with Authenticate function not or not error free processed.
kErrorDongleNotFound 1 Dongle not found.
kErrorFunctionNotSupported 7 The called function is not supported by the found SG-Lock.
kErrorLPTBusy 2 The LPT (printer port) is busy.
kErrorLPTOpenError 3 The LPT (printer port) could not be opened.
kErrorNoLPTPortFound 4 The LPT (printer port) was not found.

kErrorParameterInvalid 8 Parameter of the called function is out of the vaild value range.
kErrorSignatureInvalid 9 Signature invalid.
kErrorSuccess 0 All okay.
kErrorUSBBusy 10 Another application is claming the SG-Lock for more than 5 seconds.

Interface Types

Constant Value Description
kInterfaceLPT 1 Printer port connection.
kInterfaceUSB 0 USB connection.

Sign Modes

Constant Value Description
kSignModeSign 0 Sign the data.
kSignModeVerify 1 Verify the signature.

Some examples which use this module:

Blog Entries

Release notes


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


💬 Ask a question or report a problem