Skip Navigation Links
 
 

Method GetUsesSinceLastOnline
   Integer GetUsesSinceLastOnline ( )

When unlocking via the internet, you are able to make changes to the license on the website and those changes will be reflected in the application each time ActivateSecurity is called when connected to the internet. As you can delete licenses (thus revoking it on the user's machine) as well as altering the expiry date, feature code, etc., you probably want to ensure that the user connects at frequent intervals.

Return Value: An integer value reflecting the number of times ActivateSecurity has tried to connect to the internet.

Note:
If unlocking the software offline, GetUsesSinceLastOnline will always return 0.