Licence Protector

SetVerificationOfModule

Hide Navigation Pane

SetVerificationOfModule

Previous topic Next topic No directory for this topic  

SetVerificationOfModule

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

 

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

 

 

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 = off

1 = ongoing (= turn on)

2 = frozen

3 = online check was deactivated

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