Show/Hide Toolbars

Licence Protector 5

This command analyzes an Activation Key and gives as a result, if the key will be sent to the Activation Server 6 for online validation.

 

 

Name

GetKeyForceOnlineCheck                                                                    

Purpose

This command analyzes an Activation Key and gives as a result, if the key will be sent to the Activation Server 6 for online validation.

Params

Parameter

Type

Example

Note

Key

String

HX4a7-5CYE0-11CFy-6sjwX-kcC3Q-Aj8Eh

Must be a Licence Protector Activation Key

Returncode

Returncode

Type Boolean

Note

True

the key will be sent to Activation Server 6 for online validation

False

the key will not be sent to Activation Server 6 for online validation

Usage

When the user types in a key you could use this information in your application logic

Sample

 

  bOk := lic.GetKeyForceOnlineCheck(‘HX4a7-5CYE0-11CFy-6sjwX-kcC3Q-Aj8Eh’);

  if bOk then

  begin

         << key does not connect to the Internet >>

         ...

  end

  else

  begin

         ...

See also

Commands to analyze an Activation Key

 

 

To use this command, the license file must have been opened with one of the prepare commands.

 

See Analyze an Activation Key for an overview about all commands.