CActivate library
- ActivateOnServer
- IsActivated
ActivateOnServer
Section titled “ActivateOnServer”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 LongParameters
| Parameter | Description |
|---|---|
| strActivationCode | A 16-character string that grants the SDK activation on a single PC |
Return Values
None
IsActivated
Section titled “IsActivated”Determines if the SDK is activated on the local PC
Syntax
IsActivated() As LongParameters
None
Return Values
| Value | Description |
|---|---|
| ACTIVE_ERR_FAIL (1) | SDK is not activated |
| ACTIVE_ERR_NONE (1) | SDK is activated |