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 

Vista Best Practices

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



Joined: 29 Apr 2005
Posts: 25

PostPosted: Tue May 01, 2007 1:27 pm    Post subject: Vista Best Practices Reply with quote

Hi,

I am wondering if you have worked out a sort of "Best Practices" guide for your product to achieve Vista compatability.

A couple things that I am concerned about.

1. Storage of the license key file in the application directory.
2. The keys used by the evaluation monitor.

I have been thinking about changing the source code to redirect the key files to the shared application data directory, but it seemed to me that you must have already solved this, even though I don't see it in the source.

Thanks,

Don
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed May 02, 2007 1:50 am    Post subject: Reply with quote

Quote:
1. Storage of the license key file in the application directory.


For applications you should store the license key in a folder where the user will have permissions. You can do this by specify the full path to the license file eg

Code:
Dim LICENSE_FILE as string = System.Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) & "MyApp.lic"

Dim sLicense As EncryptedLicense = sProvider.GetLicense(LICENSE_PARAMETERS, LICENSE_FILE)


Quote:
The keys used by the evaluation monitor.


The registry keys used by the evaluation monitor are Vista compatible. The Evaluation Monitor will use system registry keys if the user has permissions (because these provide better obscurity) but will fall back to CurrentUser keys for non-power users.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
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