Show/Hide Toolbars

Licence Protector 5

 

This command allows to read a lot of properties of the license file and modules. To modify these values see SetVal()

 

Name

GetVal                                                                                                  

Purpose

Gets values from modules or the license file

Params

Parameter

Type

Example

Note

ModuleID

String

D1001

Unique ModuleID – identifies the module to be tested. If empty the call is supposed to return a value from the license file

Token

String

TLI

The token. See Token List

Returncode

Returncode

Type String

Note

Value

The extracted value as string

Usage

Read a value to check it before altering it.

Note that most of the values readable by GetVal are accessible with another function. If there is another function we recommend to use that other function e.g. use GetManufacturer instead of GetVal(‘’, ‘OEM’)

Sample

 

  sVal := lic.GetVal(‘D1001’, ‘TLI’);

  << in the string sVal now is the value of total licenses of module D1001,

     You must convert the string to an integer to use that value…>>

  ...

 

See also

Altering modules, Token list, SetVal, AddModule, DeleteModule

 

 

 

See also
 
Token List GetVal
SetVal