Token List

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

To alter some modules you can use the function SetVal(). To retrieve the information, use GetVal().

 

Its parameters are a module ID and a token. If you call SetVal() with an empty module ID, it is supposed to change a value inside the license. Take a look in the token list to see which tokens could be used:

 

Token

Changed value

Data type

Purpose

Other function

Tokens for the whole license (Parameter ModuleID of SetVal/GetVal has to be an empty string)

CST

Customer

String


GetCustomer

OEM

Manufacturer

String


GetManufacturer

FID

FileID

Integer


GetLicFileID

VSN

Version

Integer


GetLicFileVersion

CPT

CopyProtectType

Integer


GetCopyProtection

ICO

InstCode

String

This is not the InstCode you get by calling GetInstcode(x), it is the code the file is licensed for.

B3F5AA23 is the code for no InstCode


LTG

Tag

String



PRJ

Projectname

String


Projectname

WSU

WebServiceURL

String


WebServiceURL

SWS

ShowWAStartPage

Boolean

GetVal() returns ‘true’ or ‘false

SetVal() accepts values ‘true’, ‘false’, ‘1’, ‘0’, ‘on’, ‘off’, ‘yes’, ‘no

ShowWAStartPage

SWP

ShowWAProgressPage

Boolean

GetVal() returns ‘true’ or ‘false

SetVal() accepts values ‘true’, ‘false’, ‘1’, ‘0’, ‘on’, ‘off’, ‘yes’, ‘no

ShowWAProgressPage

SWR

ShowWAResultPage

Boolean

GetVal() returns ‘true’ or ‘false

SetVal() accepts values ‘true’, ‘false’, ‘1’, ‘0’, ‘on’, ‘off’, ‘yes’, ‘no

ShowWAResultPage

LVI

LicenceVerification

Integer

values see LicenceVerification - details see Regular online check


NVI

NextVerification

Date

set next online verification date - details see Regular online check


EVI

EndVerification

Date

set end verification date - details see Regular online check


VID

VerificationID

String

see command SetVerificationID


VPR

VerificationProduct

String

see command SetVerificationProduct


SEL

SecurityLevel

Integer



TDM

TamperDetectionMode

Integer



TDG

TamperDetection GraceTimes

Integer



CLC

TamperDetection

Boolean



ALW

AllowSetVal

Boolean



URL

AllowChangeWASURL

Boolean



Tokens for a module 

MOI

ModuleID

String



TLI

Totallicenses/Value

String

Set the value of a module - e.g. Yes/No or number of licenses for a network or counter module

Totallicenses

EXO

ExpiredOn

Date

Accepted values are in ISO-format YYYY-MM-DD

1899-12-30 is the value for an empty date

ExpiredOn

DMO

Demo

Boolean

GetVal() returns ‘true’ or ‘false

SetVal() accepts values ‘true’, ‘false’, ‘1’, ‘0’, ‘on’, ‘off’, ‘yes’, ‘no


LTY

licenseType

String

Values are

Uà license per named user

Sà license per computer  

Cà Counter

Yà yes/no  

Ià license per item

Rà Concurrent user


NOD

NoOfDays

Integer


NoOfDays

MEO

MaxExpiredOn

Date



MON

ModuleName

String


ModuleName

KYS

Keys

String

All standard keys for that module, separated by semicolon, including hidden keys


MSY

Keys

String

All standard keys for that module, separated by semicolon. Hidden keys are displayed as *****


CHI

CheckInterval

Integer


CheckInterval

DPC

DiffPct

Integer


DiffPct, SetDiffPct

ALW

Allow

Boolean

GetVal() returns ‘true’ or ‘false

SetVal() accepts values ‘true’, ‘false’, ‘1’, ‘0’, ‘on’, ‘off’, ‘yes’, ‘no


TAG

Tag

String


GetTagValue

WST

WebActivation

Integer

0 = none

1 = required

2 = done

3 = erroneous

GetWebActivation

 

 

If you want to activate copy protection using a DLL command, the workflow would be

 

Use PrepareForce to open the license file
SetVal, Token CPT to set the copy protection type (e.g. 2 = MAC Address)
Use GetInstcode to retrieve the installation code
SetVal, Token ICO using as parameter the installation code retrieved with GetInstcode
Quit

Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.7/help2000/index.html?fr_token_list.htm