|
-
Jan 26th, 2006, 06:07 PM
#1
Thread Starter
Fanatic Member
Reading from and writing to the registry, how?
hello!
I want to Read from and write to the registry in c#, how can I do that?
And also, in WinFX (or vista, or longhorn, or whatever you call it..), will there
be a registry?
thanks
-
Jan 26th, 2006, 07:24 PM
#2
Re: Reading from and writing to the registry, how?
Use the Microsoft.Win32.Registry and .RegistryKey classes. Although Microsoft want to phase it out there is just too much existing dependency on the Registry to get rid of it altogether anytime this century.
-
Jan 27th, 2006, 12:31 AM
#3
Re: Reading from and writing to the registry, how?
A better option for configuration/preferences etc. is to use XML files. That way you do not run into so many permissions problems and they are easier to copy.
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
|