This command analyzes an Activation Key and gives as a result the 8 digit installation code, which will be set with this key. This command can only be used for keys which turn copy protection on (Unlock Key). For all other keys, the license file ID is retrieved as an hex value. If no ID is set or the ID=0 then the result value will be
•Use GetKeyType to analyze if the key is from type = 1
•Use GetKeyCopyProtectionType to retrieve the installation code number
Name |
GetKeyInstCode |
||||||||
Purpose |
This command analyzes an Activation Key and gives as a result the 8 digit installation code, which will be set with this key. This command can only be used for keys which turn copy protection on (Unlock Key). |
||||||||
Params |
|
||||||||
Returncode |
|
||||||||
Usage |
When the user types in a key you could use this information in your application logic |
||||||||
Sample |
scode := lic.GetKeyInstCode(‘HX4a7-5CYE0-11CFy-6sjwX-kcC3Q-Aj8Eh’); if sCode = ‘’ then begin << No installation code could be retrieved >> ... end else begin << use the installation code >> ...
|
||||||||
See also |
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.