private static string TranslateReturnCode(Win32Native.CredUIReturnCodes result)
 {
     return string.Format("Invalid operation: {0}", result.ToString());
 }