View previous topic :: View next topic |
Author |
Message |
greek
Joined: 07 Feb 2007 Posts: 7
|
Posted: Wed Feb 14, 2007 4:52 pm Post subject: Custom EncryptedLicenseProvider |
|
|
Hello
following the informations provided here http://www.infralution.com/phpBB2/viewtopic.php?t=426 I developed a custom EncryptedLicenseProvider:
Code: | Friend Class CustomEncryptedLicenseProvider
Inherits EncryptedLicenseProvider
'...
End Class |
This means that I must replace each occurrences of EncryptedLicenseProvider with CustomEncryptedLicenseProvider in LicenseInstallForm?
Thanks |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Feb 14, 2007 9:29 pm Post subject: |
|
|
Quote: | This means that I must replace each occurrences of EncryptedLicenseProvider with CustomEncryptedLicenseProvider in LicenseInstallForm? |
Your don't have to modify the source for the LicenseInstallForm. Instead simply set the LicenseInstallForm.LicenseProvider property eg
Code: |
LicenseInstallForm form = new LicenseInstallForm();
form.LicenseProvider = new CustomEncryptedLicenseProvider() |
Also make sure that if you are licensing controls you change the LicenseProvider attribute attached to your control classes to use your CustomEncryptedLicenseProvider class. _________________ Infralution Support |
|
Back to top |
|
|
|