Navigation:  Function Reference >

ResetGlobalRunNo

Previous pageReturn to chapter overviewNext page

 

Name

ResetGlobalRunNo                                                                                 

Purpose

Sets the Run Number in the licence file and therefore resets the whole installation.

Params

Parameter

Type

Example

Note

RunNumber

Integer

0

Run Number to set.

ResetDays

Integer

2

Number of days beginning from today, an applications local Run Number is reset

Returncode

Returncode

Type Integer

Note

0

Total Run Number was successfully set

Other return codes

Operation failed, see list of return codes

Usage

Set the Run Number in the licence file and allows all installations that use this licence file to be locally reset during the defined amount of days. Can be used to allow a reinstallation.

Sample

 

  iRes := lic.ResetGlobalRunNo(0, 5);

  if iRes <> 0 then

  begin

     << an error occurred >>

     ...

  end

  else

  begin

     << everything is fine, continue >>

     ...

See also

TamperDetection, LicenceTampered, RemoveLocalRunNo, ResetGlobalRunNo

 

 


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