|
||
All Licence Protector methods that do change data and have to store those data in the license file reread the complete license file from the hard disk before performing and writing the data back. This ensures that the file will always be consistent.
If several methods have to be called sequentially, for example the validation of several modules at application start, this procedure needs some time: If the security level advanced is used every call could take up to 1 second, as the complete file has to be decrypted. To speed up this process significantly, the cache mode could be used.
Use the write cache mode only in a single user environment as saving back the cache to the hard disk would overwrite all changes in the license file, which have been done by another computer in the network. Read cache can be used in multi user environment.
Important
•Use a cache only for the time you really need it - e.g. during program start to retrieve all modules. Close the cache as soon as possible with EndCache
•Before you use one of the Prepare commands to open a license file you have to close the cache with EndCache
•For a network license you can use the ReadCache. If a validate command would update the license file (e.g. because a new user is added), it updates the cache and as a next step, the license file would be automatically updated. There is a small chance that this data is lost in case another use would also be added in the same moment
•Never use the cache with concurrent user license
Click on the sign on the left side to get all DLL commands related to Cache Mode.