Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Value in EncryptedLicenseKey

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
Jammer



Joined: 01 Oct 2017
Posts: 16

PostPosted: Sat Mar 10, 2018 6:52 pm    Post subject: Value in EncryptedLicenseKey Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 4870

PostPosted: Wed Mar 14, 2018 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Jammer



Joined: 01 Oct 2017
Posts: 16

PostPosted: Thu Mar 15, 2018 5:28 pm    Post subject: Reply with quote

Perfect, thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group