I can get/set registry values using the Microsoft.Win32.Registry class. For example,
Microsoft.Win32.Registry.SetValue(
@"HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun",
"MyApp",
Application.ExecutablePath);
But I can't delete any value. How do I delete a registry value?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…