Licence Protector

GetModuleVerification

Hide Navigation Pane

GetModuleVerification

Previous topic Next topic No directory for this topic  

GetModuleVerification

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

 

Get the status of the regular online check, which was either set using SetVerificationOfModule or in the project template using <ModuleVerification>. If a module was locked using DeactivateModule or TransferLicense, then the status is 2=frozen.

 

 

Name

GetVerificationOfModule                                                                    

Purpose

Property to get 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

Returncode

Returncode

Type Integer

Note

0 = off

No online verification. CheckModuleSubscription or CheckModule will always succeed.

1 = ongoing

An online verification has to be done periodically

2 = frozen

A failed online verification has locked that license. A successful CheckModuleSubscription / CheckModule can reactivate it

3 = deactivated

The regular online check is deactivated

Usage

You can check the main parameter of the CheckLicence functionality

Sample

 

  iLicModuleVerification := lic.GetVerificationOfModule('QHD001');

  if iLicModuleVerification = 0 then

  begin

    << online Verification is Off >>

     ...

  end

See also

CheckModuleSubscription, CheckModule, DeactivateModule, NextVerificationOfModule, VerificationOfModule, SetVerificationOfModule, SetVerificationIDOfModule