Licence Protector

RemoveLocalRunNo

Hide Navigation Pane

RemoveLocalRunNo

Previous topic Next topic No directory for this topic  

RemoveLocalRunNo

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

 

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.