tags:

views:

63

answers:

3

Hello all

Can you refer me to some good reference how I can read write to registry via .net resources ?

I checked the site and couldn't find any good information.

Thanks a lot for help.

+2  A: 

I've always found this one to be quite helpful: http://www.codeproject.com/KB/system/modifyregistry.aspx

Sonny Boy
+2  A: 

Look at Microsoft.Win32.Registry. There is an abundance of sample code there. You can also look at CodeProject. Lastly, MSDN has a good overview on the Registry.

Jason
+2  A: 

Check out the Registry class in the BCL

Example:

using( key = Registry.CurrentUser.OpenSubKey(@"Software\MyProduct")) {
  var value = key.GetValue("SomeValueKey");
  ..
}
JaredPar