I am planning to use LexActivator (C++). I have the following licensing use case and wondering if it is supported.
I wish to allow customers to freely use a software I am developing until a certain condition (not time based). The condition is generally around the number of object instances they are creating. When the limit is reach, I will then perform the LexActivator initialization and checks.
Is the above usecase achievable ?
Is there some pseudo code or something similar of the above I can learn from ?
I wrote a small LexActivator example and noted that a a high level, there are the initialisation section i.e. SetProductFile/SetProductData/SetProductId/SetAppVersion, following the initialisation is the first call IsLicenseGenuine()
So I am thinking that for the free usage, I will still call the Set*() functions as part of initialisation() and when my object instance count reaches the limit, I will start calling the IsLicenseGenuine() and other functions e.g. GetLicenseExpiryDate()
Am I on the right track ?
Kind regards