Skip to main content

Questions tagged [windows-registry]

Filter by
Sorted by
Tagged with
0 votes
0 answers
684 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 ...
Snoop's user avatar
  • 2,748
1 vote
2 answers
473 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 ...
sergiol's user avatar
  • 157
1 vote
1 answer
358 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 ...
software's user avatar
3 votes
1 answer
3k 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 ...
t3chb0t's user avatar
  • 2,592
6 votes
2 answers
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 ...
JackAce's user avatar
  • 333
5 votes
4 answers
2k 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?
Kenneth's user avatar
  • 2,701
59 votes
13 answers
10k 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 ...
Job's user avatar
  • 6,439