Cryptlex Forums

GetDaysLeftToExpiration for no expiry keys

A
Ayache09

Hello,
I would like to know how can one know if a key expires or not?
How I can retrieve the value of “Expires On”, or How can I differentiate between a key that expires and one that does not expire?
The function GetDaysLeftToExpiration gets the number of remaining days, but it get 0 for “No Expiry” and 0 for a key with is expired!!

Thanks in advanced.

C
Cryptlex Support

Hi,

When a key expires, the IsProductGenuine () function starts returning LA_EXPIRED instead of LA_OK

← Back to all topics · 2 posts · 813 views · opened 2017-03-14