المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Using Registry Keys



C# Programming
07-07-2010, 02:41 AM
Hello All,

For the past few apps, I have used XML files to store user preferences and other program related data. Lately, I've been thinking about transitioning to registry keys for storing program values.

My two main reasons are:
1. They are lightweight.
2. More concealed from the user.

However, I've read that issues can arise between 32bit and 64bit machines.

What is the general opinion on using registry keys vs XML?
The mind is like a parachute. It doesn’t work unless it’s open.