Show/Hide Toolbars

Licence Protector 5

 

Name

RemainingLicences                                                                                  

Purpose

Gets the remaining licenses of the module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1005

Unique ModuleID – identifies the module to be tested

Returncode

Returncode

Type Integer

Note

-1

It is a module type that has no number of licenses

>= 0

licenses left, between 0 and TotalLicences

A counter-module always returns the value of TotalLicences

Usage

E.g. to show the user how many items or users are left for using a part of your software.

Sample

 

  iLics := lic.Remaininglicences (‘D1005’);

  << use the extracted value >>

  ...

See also

TotalLicences, Module types