View previous topic :: View next topic |
Author |
Message |
Jammer
Joined: 01 Oct 2017 Posts: 16
|
Posted: Sat Mar 10, 2018 6:52 pm Post subject: Value in EncryptedLicenseKey |
|
|
Hi,
When I debug and look at the properties of an authenticated license the values in EnryptedLicenseKey and LicenseKey are the same.
Is this expected/correct? If so, why is the EncryptedLicenseKey not encrypted?
Thanks,
James |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Mar 14, 2018 10:40 am Post subject: |
|
|
Yes this is normal. This is because AuthenticatedLicense inherits from System.ComponentModel.License which defines the abstract LicenseKey readonly property. Since there is no way to extend this to make the property writable the AuthenticatedLicense class just defines its own read/write property EncryptedLicenseKey. The overwrite of LicenseKey just returns this property. _________________ Infralution Support |
|
Back to top |
|
|
Jammer
Joined: 01 Oct 2017 Posts: 16
|
Posted: Thu Mar 15, 2018 5:28 pm Post subject: |
|
|
Perfect, thank you. |
|
Back to top |
|
|
|