Questions tagged [windows-registry]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
56
votes
13answers
7k views

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 ...
6
votes
2answers
4k views

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 ...
5
votes
4answers
1k views

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?
3
votes
1answer
1k views

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 ...
1
vote
2answers
137 views

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 ...
1
vote
1answer
184 views

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 ...
0
votes
0answers
145 views

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 ...