Show/Hide Toolbars

Licence Protector 5

This command rereads the license file from the hard disk into the cache. The cache mode has to be activated first using BeginReadCache or BeginCache. If write commands have been cached, RevertCache does not save the updates to the disk before the license file is loaded into the memory. All changes of the cache are lost.

 

 

Name

RevertCache                                                                                      

Purpose

Update the cache and do NOT save values to the hard disk

Params

None

Returncode

Returncode

Type Integer

Note

0

The  cache was successfully updated with the latest license file values

Other return codes

Cache activation failed, see list of return codes

Usage

Update the cache

Sample

 

  iRes := lic.BeginCache;

  << start reading values>>

  iRes := lic.RevertCache;

  << start reading values>>

  iRes := lic.EndCache;

See also

GetCacheMode, BeginReadCache, BeginCache, EndCache, RefreshCache, WriteCache