View previous topic :: View next topic |
Author |
Message |
DEdvalson
Joined: 29 Apr 2005 Posts: 25
|
Posted: Tue May 01, 2007 1:27 pm Post subject: Vista Best Practices |
|
|
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 |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed May 02, 2007 1:50 am Post subject: |
|
|
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 |
|
|
|