How to check if a registry value exists by C# code? This is my code, I want to check if \'Start\' exists.
public static bool checkMachineType() { Registr
RegistryKey rkSubKey = Registry.CurrentUser.OpenSubKey(" Your Registry Key Location", false); if (rkSubKey == null) { // It doesn't exist } else { // It exists and do something if you want to }