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
:wave:
Printable View
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
:wave:
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.
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.