This command saves the modifications from the cache to the hard disk. The cache mode has to be activated first using BeginReadCache or BeginCache.

 

 

Name

WriteCache                                                                                          

Purpose

Save modified cache 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

Save modified cache values to the hard disk after DLL commands have modified values

Sample

 

  iRes := lic.BeginCache;

  << start reading values>>

  iRes := lic.WriteCache;

  << start reading values>>

  iRes := lic.EndCache;

See also

GetCacheMode, BeginReadCache, BeginCache, EndCache, RevertCache, RefreshCache