Feedback on: Licence Protector - Check for System Date modificationfr-Check_for_System_Date_modificationImplementing Licence Protector using default workflow > Function Reference EasyGo - complete licensing with ready to go screens > Check for System Date modification /Dear Support Staff,
Check for System Date modification
Enables checking, if the system date is modified back more than 1 day. See error screen - System date was tampered
This option will stop the application if the date was turned back.
Property to get or set the date manipulation checking at function Prepare
Params
None
Returncode
Returncode
Type Boolean
Note
True
Checking is enabled
False
Checking is not enabled
Usage
Activate the date manipulation checking implicitly at function Prepare. Has to be set before using Prepare.
Sample
Get:
bIsCheckOn := lic.CheckSysdateChanged;
<< use Boolean bIsCheckOn >>
Set:
lic.CheckLicChanged := true;
See also
Prepare, SysdateChanged
To unlock the system date lock, you can use any Activation Key - e.g. a key which sets demo version to true or a key without any settings. To open the license file despite the error message, use PrepareForce and then open the License Viewer so that the user can type in a key. The command PrepareAndCheck will offer the License Viewer by default.
If your application is in evaluation mode and the application is uninstalled and then reinstalled, this is automatically detected. The application will have the same number of days left like before the uninstall process. CheckSysdateChanged is an additional test to the test in evaluation mode.
If you want to control that the system date check is only done when the version is in evaluation mode, you need additional checks.
Only if the version is a demo version or NoOfDays is >0 then check if the System Date was modified with SysDateChanged
•
This command gives you full control to decide if you want to continue or not. In case the system date was changed and you do not want to continue display an error page with ShowStartErrorPage using error number 16382 (which will display this page) or display your own error message