Show/Hide Toolbars

Licence Protector 5

 

Name

CheckInterval                                                                                            

Purpose

Gets the interval between two automatic checks at a concurrent user module

Params

Parameter

Type

Example

Note

ModuleID

String

D1001

Unique ModuleID – identifies the module to be tested

Returncode

Returncode

Type Integer

Note

-1

An error occurred

>= 0

The seconds between two automatic checks in an activated concurrent user module

Usage

E.g. if you want to show the interval in a setting dialog

Sample

 

  iSec := lic.CheckInterval(‘D1006’);

  if iSec < 0 then

  begin

         iErr := lic.LastReturnCode;

         << react on error code >>

         ...

  end

  else

  begin

         << use the interval information >>

         ...

See also

Concurrent user modules, SetCheckInterval