Reading a record in .net format

Can you refer to some good link, how can I read the registry entry through .net resources?

I checked the site and did not find any useful information.

+7
c #
source share
2 answers

Take a look at Microsoft.Win32.Registry . There are many code examples. You can also see CodeProject . Finally, MSDN has a good overview in the Registry .

+5
source share

Check Registry class in BCL

Example:

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

All Articles