Skip to content
GBG Documents & Biometrics Documentation

CActivate library

  • ActivateOnServer
  • IsActivated

Activates the SDK. The PC must be connected to the Internet to complete this function successfully. After the operation succeeds, the SDK can be used with any TWAIN scanner.

Note: After the SDK is activated successfully, it does not require the PC to be connected to the Internet.

Syntax

ActivateOnServer(strActivationCode As String) As Long

Parameters

Parameter Description
strActivationCode A 16-character string that grants the SDK activation on a single PC

Return Values

None

Determines if the SDK is activated on the local PC

Syntax

IsActivated() As Long

Parameters

None

Return Values

Value Description
ACTIVE_ERR_FAIL (1) SDK is not activated
ACTIVE_ERR_NONE (1) SDK is activated