Show/Hide Toolbars

Licence Protector 5

 

Set the status of the regular online check. It could also be set to a default value in the project template using <ModuleVerification>.

You can retrieve the status using GetVerificationOfModule

 

For a complete description see chapter regular online checks.

 

Name

SetVerificationOfModule                                                                    

Purpose

Property to set  the state of the license regarding online verifications used in combination with CheckModuleSubscription or CheckModule

Params

Parameter

Type

Example

Note

ModuleID

String

QHD001

Unique ModuleID

Status

Integer

1

0 = Regular online verification is off

1 = Regular online verification is enabled

2 = Frozen (license is locked)

3 = Regular online verification is terminated

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

Sample

 

  iRes := lic.SetVerificationOfModule('QHD001',1);

 

   if iRes = 0 then

  begin

     << Online verification enabled >>

  ...

  end

See also

CheckModuleSubscription, CheckModule, DeactivateModule, GetVerificationOfModule, NextVerificationOfModule, VerificationOfModule, SetVerificationIDOfModule