Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Thu May 14, 2009 7:04 am Post subject: HOWTO: Remotely revoke licenses using the IsLicenseDisabledInService method |
|
|
The CryptoLicense.IsLicenseDisabledInService method can be used in your software to determine if a license has been disabled in the license service. This method contacts the license service and tests if the license ID for the license is present in the 'DisabledLicense' table of the license service database.
If the CryptoLicense.IsLicenseDisabledInService method returns True, you can revert back to an evaluation license, throw an exception, exit the program or perform any other action you may find appropriate.
Notes
To revert back to an evaluation license, set the CryptoLicense.LicenseCode property to the evaluation license code and call CryptoLicense.Save method to ensure that the evaluation license gets saved over the old license. |
|