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.
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 .
Microsoft.Win32.Registry
Check Registry class in BCL
Registry
Example:
using(var key = Registry.CurrentUser.OpenSubKey(@"Software\MyProduct")) { var value = key.GetValue("SomeValueKey"); .. }