Name

RemoveLocalRunNo                                                                              

Purpose

Removes the local Run Number token in the Windows Registry and sets the local value to 0.

Params

none

Returncode

Returncode

Type Integer

Note

0

Local Run Number was successfully removed

Other return codes

Operation failed, see list of return codes

Usage

Clean up the Run Number infrastructure

Sample

 

  iRes := lic.RemoveLocalRunNo;

  if iRes <> 0 then

  begin

    << an error occurred >>

     ...

  end

  else

  begin

    << everything is fine, continue >>

     ...

See also

TamperDetection, licenseTampered, ResetLocalRunNo, ResetGlobalrRunNo

 

You have to disable the license testing first (StopConcurrentUsage) before you use this command.