Show/Hide Toolbars

Licence Protector 5

 

Command no longer in use

 

Replaced with command SetVal, Token: MVD

 

 

Name

SetVerificationID                                                                                  

Purpose

Sets the ID for the CheckLicence call. That is needed for the “Transfer” and “Adopt”-Button on the License Viewer

Params

Parameter

Type

Example

Note

ID

String

ID4711

This value is used for the next “Transfer” or “Adopt” action

Returncode

Returncode

Type Integer

Note

0

The Verification ID was successfully set

All other values – see return codes

The operation was not successful

Usage

Sets the value that is necessary for the next implicit CheckLicence call triggered by the license Viewers “Transfer” and “Adopt” button

Notice: You should explicitly set the value in the CheckLicence and Deactivatelicense call, even if you have set it with SetVerificationID

Notice: A CheckLicence-call will do an implicit SetVerificationID

Sample

 

  iRes := lic.SetVerificationID(‘ID4711’);

  if iRes = 0 then

  begin

     << Verification ID successfully set. license Viewers Transfer now has the necessary parameter. >>

  ...

  end

See also

SetVerificationProduct, CheckLicence, Deactivatelicense, licenseVerification, NextVerification