Unverified Trials
Unverified trial does not require online activation. All the information regarding trial is only stored on the user's machine in an encrypted form. The trial resets if user formats the PC or deletes the local hidden trial data. This type of trial is not recommended.
As the unverified trial data is completely stored on the user's machine, you can have unlimited trial users and trial can start without an internet connection.
Adding unverified trial to your app
When your user installs your application first time, invoke ActivateLocalTrial()
LexActivator API functions to start the trial. Following sample code should be executed once after user installs your app, ideally on a button click. Executing multiple times would will not reset the trial.
Once the trial is started you only need to invoke IsLocalTrialGenuine()
and GetLocalTrialExpiryDate()
LexActivator API functions at the start of your app after IsLicenseGenuine()
check. Following is the sample code:
Last updated