Licence Protector

DiffPct

Hide Navigation Pane

DiffPct

Previous topic Next topic No directory for this topic  

DiffPct

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

 

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