Licence Protector

GetKeyExpiryDate

Hide Navigation Pane

GetKeyExpiryDate

Previous topic Next topic No directory for this topic  

GetKeyExpiryDate

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

This command analyzes an Activation Key and gives as a result the expiry date, which will overwrite the value in the license file

 

 

Name

GetKeyExpiryDate                                                                                  

Purpose

This command analyzes an Activation Key and gives as a result the expiry date, which will overwrite the value in the license file

Params

Parameter

Type

Example

Note

Key

String

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

Must be a Licence Protector Activation Key

Returncode

Returncode

Type DateTime

Note

30.12.1899
(12/18/1899)

Empty = The date will not be changed

Other value

The date, which will be written into the license file

29.12.1899

(29/18/1899)

Value not defined.  Key without a date information (turn on/off copy protection, tamper detection, reset run number) - use GetKeyType to get details

Usage

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

Sample

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

  << application logic >>

 

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.