View previous topic :: View next topic |
Author |
Message |
BradBeech
Joined: 08 Jan 2015 Posts: 10
|
Posted: Sun Jun 14, 2015 8:04 am Post subject: LicenseUtilities.UnInstallILSLicense? |
|
|
Hi,
I have used LicenseUtilities.InstallILSLicense() to license a webservice that is a key generator.
I would like to test this service on various hosting providers. However if I do this multiple times I will surely run out of ILS licenses pretty quickly.
Can i call LicenseUtilities.InstallILSLicense(), and then is there a corresponding UninstallLIcense somewhere that I can call before trying a different provider, hosting provider.
Basically I guess it's that same as transferring a license to a different machine, however I don't have license tracker installed to do the uninstall from, and this would be more of a 'domain' transfer since its a web app. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sun Jun 14, 2015 11:11 pm Post subject: |
|
|
You can call:
Code: | AuthenticatedLicense license = LicenseUtilities.ILSLicense;
AuthenticatedLicenseProvider provider = LicenseUtilities.ILSLicenseProvider;
provider.DeauthenticateLicense(license);
provider.UninstallLicense(license); |
You should put some exception handling around this to cope with web exceptions if the internet connection is down or other errors. We do have limits on how often licence keys can be transferred by the user by deauthenticating. This is to prevent abuse of this mechanism to clone licenses. If you hit the limit you will need to contact us to deauthenticate the license. _________________ Infralution Support |
|
Back to top |
|
|
BradBeech
Joined: 08 Jan 2015 Posts: 10
|
Posted: Mon Jun 15, 2015 6:40 am Post subject: |
|
|
Excellent thank you.
Is there a website or some place we can log onto to see if this limit is near? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Jun 15, 2015 6:43 am Post subject: |
|
|
Quote: | Is there a website or some place we can log onto to see if this limit is near? |
No - sorry. If you email support@infralution.com with your license key we can provide you more information. _________________ Infralution Support |
|
Back to top |
|
|
|