Show/Hide Toolbars

Licence Protector 5

 

 

Name

SetVerificationIDOfModule                                                                    

Purpose

Sets the Serial Number / ID for the Transfer License Button in the License Viewer

Params

Parameter

Type

Example

Note

ModuleID

String

QHD001

Should be the main module ID - retrieve it with MainModuleID

ID

String

yuGEI-5EPc3-9E7Il-3tI8X-7QU5k-6h14R

Identifier which was used to activate the product.  Retrieve the Serial Number / ID with GetSerial

Returncode

Returncode

Type Integer

Note

0

The verification ot the 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.SetVerificationIDOfModule(‘QHD001’,'yuGEI-5EPc3-9E7Il-3tI8X-7QU5k-6h14R');

  if iRes = 0 then

  begin

     << License Viewer now has the necessary parameter. >>

  ...

  end

See also

VerificationOfModule