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.
Check out the Registry
class in the BCL
Example:
using(var key = Registry.CurrentUser.OpenSubKey(@"Software\MyProduct")) {
var value = key.GetValue("SomeValueKey");
..
}
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With