BlackHole.Slave.Helper.RegistryHelper.DeleteRegistryKeyValue C# (CSharp) Method

DeleteRegistryKeyValue() public static method

public static DeleteRegistryKeyValue ( RegistryHive hive, string path, string name ) : bool
hive RegistryHive
path string
name string
return bool
        public static bool DeleteRegistryKeyValue(RegistryHive hive, string path, string name) =>
            RegistryKey.OpenBaseKey(hive, RegistryView.Registry64).OpenWritableSubKeySafe(path,
                key =>
                {
                    key.DeleteValue(name, true);
                    return true;
                });