Questions tagged [windows-registry]
8 questions
59
votes
13 answers
Why is Windows registry needed?
As I have debugged problems in com, side by side, dealt with dll hell, all while hating the windows registry with passion, I was wondering why is it needed.
I never felt compelled to read an entire book on registry best practices, and then just "get…

Job
- 6,459
- 3
- 32
- 54
6
votes
2 answers
How should I deal with Time Zones in a .NET WCF application?
Our company runs a SaaS application where users log in from across the world (although mostly in the US). We store all our time relevant information as UTC, but we need to display times using local time. The application is web based, and we would…

JackAce
- 333
- 2
- 10
5
votes
4 answers
XML and Registry
Which method is considered to be best practice for setting storage for applications: XML or Registry? What are the benefits/downsides of using either of these?

Kenneth
- 2,703
- 2
- 21
- 30
3
votes
1 answer
Implementing unit-of-work for multiple storage types
I'm trying to implement the unit-of-work pattern for mutliple storage types like the windows registry, a database or the app.config but I cannot figure out how to do it. All examples I find use Entity Framework which already is a UoW so it doesn't…

t3chb0t
- 2,515
- 2
- 21
- 34
1
vote
2 answers
Best approach to persist settings in files
I am in the process of migrating the way an app makes persistence of its settings.
It wrote and read data from registry;
now it is desired it load/save XML files on the C:\AppData\MyApp\Version folder
for several reasons.
It had lots of folders on…

sergiol
- 157
- 1
- 6
1
vote
1 answer
Secure delete a registry key
On a regular Hard Drive a secure delete of a file is possible by overwriting it, does simply overwriting the registry key is enough to secure delete the key ?
If not how I can proceed to secure delete my registry key ?

software
- 23
- 2
0
votes
0 answers
Best design principles and approaches for a Windows desktop app used across a home network
Forgive this question if it's too 'newbie' or green - I'm not a professional developer or anything. I'm a hobbyist coder.
I'm developing a windows desktop application which requires the following features:
The app can be downloaded to any number of…

stigzler
- 109
- 1
0
votes
0 answers
Is there a reason to use the Windows registry to store license info, if we aren't concerned with hiding anything?
I've read answers to the following:
Why is Windows registry needed?
However I am curious about how this might apply to the practice of storing software license keys. I've seen developers store license information in the Windows registry, such as…

Snoop
- 2,718
- 5
- 24
- 52