Bloom.InstallerSupport.RemoveRegistryKey C# (CSharp) Method

RemoveRegistryKey() static private method

static private RemoveRegistryKey ( string parentName, string keyName ) : void
parentName string
keyName string
return void
        internal static void RemoveRegistryKey(string parentName, string keyName)
        {
            var root = HiveToMakeRegistryKeysIn;
            var key = String.IsNullOrEmpty(parentName) ? root : root.OpenSubKey(parentName);
            if (key != null)
            {
                key.DeleteSubKeyTree(keyName, false);
            }
        }