Show/Hide Toolbars

Licence Protector 5

This command analyzes an Activation Key and gives as a result, if the key is a Serial Number (which can be used for product activation) or not.

 

 

Name

GetKeyIsSerial                                                                                

Purpose

Retrieve the value of a Yes/No Activation Key

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 is a Serial Number

False

The key is not a Serial Number

Usage

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

Sample

 

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

 

   if bOk then

  begin

         << key is a Serial Number >>

         ...

  end

  else

  begin

         ...

See also

Commands to analyze an Activation Key