Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Aug 31, 2010 10:55 pm Post subject: Can I implement subscription licensing with ILS? |
|
|
Yes. From Version 5.8 of ILS onwards subscription (or time limited) licenses are supported out of the box for authenticated licenses. Simply set the Expiry Date option in the Key Generation tab of the Product dialog. This will automatically set the expiry date for license keys when they are generated or when they are first authenticated (depending on the option you select).
The AuthenticatedLicenseProvider.IsAuthenticated method (which is called on a background thread if you use the StartBackgroundAuthenticationCheck method) checks that the license key is authenticated and has not expired. Because this check is done at the authentication server it provides a good way of double checking that the user is not clock winding to extend their subscription.
For earlier versions of ILS you could implement time limited licenses by setting the expiry date in ProductInfo or AuthenticationData of the license key and your application would read the data and check the date. _________________ Infralution Support |
|