public override void delete() { if (Name != "") { RegistryKey key = BaseKey.CreateSubKey(Path); key.DeleteValue(Name); key.Close(); } else { BaseKey.DeleteSubKey(Path); } }