Code needed for Change Master Password

This commit is contained in:
Jim Norman
2005-11-03 20:22:45 +00:00
parent 9412f726e6
commit fb5296c0c3
7 changed files with 83 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ namespace Novell.CASA.MiCasa.Communication
public const int VERB_REMOVE_KEY = 15;
public const int VERB_READ_KEY = 16;
public const int VERB_GET_KEY_LIST = 17;
public const int VERB_RESET_MASTER_PASSWORD = 18;
public const int VERB_DUMP_LINKED_KEYS = 96;
public const int VERB_CREATE_TEST_SECRETS = 97;
@@ -129,7 +130,10 @@ namespace Novell.CASA.MiCasa.Communication
reply = (WrappedObject)formatter.Deserialize(ms);
if (reply.GetReturnCode() != 0)
{
ipcChannel.Close();
throw new Exception(reply.GetReturnCode().ToString());
}
}