|
-
Apr 1st, 2023, 02:47 AM
#1
Thread Starter
Lively Member
[RESOLVED] What is the best way to persist application license information?
For a VB.Net Windows Forms application, targeting Framework 4.8, I need to persist license data that must be effective application-wide, and remain so permanently (unless and until it is modified by the application itself). In other words, the data must be consistent regardless of which user is running the application, and it must survive the application being uninstalled and then re-installed.
Due to both the application's architecture and its likely usage patterns, it's important that the license data NOT be stored in the application's database. What I'm unsure about is:
1. My guess is that the Windows registry would be the storage location of choice, but I'm open to other suggestions.
2. If the data is stored in the registry, I would need to avoid those branches that apply to specific users, but I'm not sure which branch or other location would be best for application-wide data.
3. Are Interaction.SaveSetting() and Interaction.GetSetting() the preferred methods for writing and reading registry data, or would some other choice be better?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|