Licence Protector

ExistsModule

Hide Navigation Pane

ExistsModule

Previous topic Next topic No directory for this topic  

ExistsModule

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

 

Find out if a module exists in the license file

 

Name

ExistsModule                                                                                              

Purpose

Checks if  a module exists in the license file. It does not validate a module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1001

Unique ModuleID – identifies the module to be tested

Returncode

Returncode

Type Boolean

Note

True

This module exists in the license file

False

This module does not exists in the license file

Usage

E.g. if you want to check if a user is already in the module registered

Sample

 

  bOk := lic.ExitsModule(‘D1001’);

  if bOk then

  begin

         << use the information >>

         ...

  end

  else

  begin

         ...

See also

GetModuleList, AddModule, DeleteModule,

 

To retrieve all modules of a license file use GetModuleList