Show/Hide Toolbars

Licence Protector 5

This command can be used to find out, if the command PrepareAndCheck did just a regular license check or

 

If a Serial Number was used, but the activation is not completed (e.g. activation by e-mail, fax)

If an activation was completed (e.g. an Unlock Key was typed in)

If a Serial Number was used and the activation was completed (online activation)

 

It also delivers as a return value which product activation option (online, e-mail, fax, phone) was used.

 

This information is useful if you want to implement an action which should done only once directly after the product activation. A sample would be to upload a license file after the product is activated (using UploadLic).

 

The return value is given only once after the above described events. Otherwise the return value is always empty

 

Name

GetActionsOfLastPrepareAndCheck                                                                    

Purpose

Gets the customer’s name from within the license file.

Params

None

Returncode

Returncode

Type String

Note

Empty

regular license check

AX

Serial Number was used

UX

Activation completed

AXU

Serial Number was used and activation completed

 

X indicates the product activation option which was used

0

Online

1

e-mail

2

Fax

3

Phone

 

Example:

 

A1 = Serial Number was typed in using e-mail Activation

U2 = Unlock Key was typed and the selected activation option was Fax

A3U = Activation by phone, Serial Number + Unlock Key

 

Usage

Extract the customer to display or use it inside the application code.

Sample

 

  sCust := lic.GetActionsOfLastPrepareAndCheck ;

  <<  >>

  ...

See also

GetWebActivation

 

 

To find out, if a product was activated or not you can use GetWebActivation.