Show/Hide Toolbars

Licence Protector 5

 

Command no longer in use

 

Replaced with SetVerificationIDOfModule

 

Name

SetVerificationProduct                                                                          

Purpose

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

Params

Parameter

Type

Example

Note

ID

String

D1001

This value is used for the next “Adopt” action

Returncode

Returncode

Type Integer

Note

0

The Verification Product 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 “Adopt” button

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

Notice: A CheckLicence-call will do an implicit SetVerificationProduct

Sample

 

  iRes := lic.SetVerificationProduct(‘D1001’);

  if iRes = 0 then

  begin

     << Verification Product successfully set. license Viewers Adopt now has the necessary parameter. >>

  ...

  end

See also

SetVerificationID, CheckLicence, Deactivatelicense, licenseVerification, NextVerification