Show/Hide Toolbars

Licence Protector 5

 

Name

DiffPct                                                                                                      

Purpose

Gets the tolerance in percent that is allowed for a client to do an automatic validate at a concurrent user module

Params

Parameter

Type

Example

Note

ModuleID

String

D1006

Unique ModuleID – identifies the module to be tested

Returncode

Returncode

Type Integer

Note

-1

An error occurred

>= 0

The tolerance in percent in an activated concurrent user module

Usage

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

Sample

 

  iPct := lic.DiffPct(‘D1006’);

  if iPct < 0 then

  begin

         iErr := lic.LastReturnCode;

         << react on error code >>

         ...

  end

  else

  begin

         << use the interval information >>

         ...

See also

Concurrent user modules, SetDiffPct