<< Click to Display Table of Contents >> Navigation: WinLicense > FAQ > Registration > Common > I want to control downloads (updates) of my software. My clients will have a license with one year of updates. After one year, updates are not allowed but he can continue using the software. Can WinLicense do this? |
With WinLicense, you can create your license (embedding User Name, Company and Custom Data) and license restrictions (like days limit, execution limit, date limit, etc). You can read the license information using the API WLRegGetLicenseInfo
Basically these are the steps:
1) You create a license for your customer with 1 year expiration
2) When the license expires (after 1 year) your application goes into Trial state (so, in this state you don't allow updates for example). You can check if your application is running as Trial or Registered via the function WLRegGetStatus
3) You sent a new license (re-create license) for your customer after he makes the payment and it will be extended for another year (Each license has an unique ID, so if you recreate a new license, even with the same user information, the expiration will be set according to the new license)
4) Don't forget that if you want to control the status of your application (registered, expired, trial, etc) you have to use the WinLicense SDK APIs and you have to Disable the specific expiration events/messages from the Customized Dialog panel. Please, check also the following KB entry