public bool DeleteKey(string key)
        {
            int status = SafeNativeMethods.RegDeleteKey(this, key);

            if (status == SafeNativeMethods.ERROR_SUCCESS)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
예제 #2
0
 public bool DeleteKey(string key)
 {
     return(SafeNativeMethods.RegDeleteKey(this, key) == 0);
 }