ActivateTrial() creates a new trial on the same machine

Thank you @AneesKhan for the update, I will let know you if I have any questions.

1 Like

Hi @AneesKhan, just to confirm with you that after I updated the expiration data through the admin portal for a trial activation, what is the best way to sync the updated expiration data on the client side with C#? Is there a method for me to call to get the expiration date?

Dear @Mingbo,

After updating the Expiration Date of a trial activation on the server side, call the ActivateLicense() function on the client side to have the changes reflected locally.

Once done, you can call GetTrialExpiryDate() to retrieve the updated trial expiry date timestamp.

Hi @AneesKhan thanks for your reply. Am I correct that calling ActivateLicense() would potentially create a new trial activation as you mentioned above? Or it has been fixed in the C# sdk that would only update the new expiration date?

Hi @Mingbo

As long as the machine fingerprint remains unchanged, calling ActivateLicense() again on the same machine will update the existing trial activation details, such as the expiration date, rather than creating a new trial activation.

Additionally, as previously communicated, a new function is planned in v5 that will just update the trial activation details, such as an extended expiry date. At this time, there is no confirmed ETA for its availability.

For any further assistance, please feel free to reach out to our support channel at support@cryptlex.com.

Kind regards,
Anees