예제 #1
0
 /// <summary>
 /// Get rid of the evidence
 /// </summary>
 public void Dispose()
 {
     if (PasswordMasterKey != null)
     {
         PasswordMasterKey.Dispose();
         PasswordMasterKey = null;
     }
 }
예제 #2
0
 /// <summary>
 /// Clear out our Password Master Key (if we've even entered it...), and remove all encrypted+stored passwords
 /// </summary>
 public void ClearPasswordMasterKey()
 {
     foreach (EVEAccount account in Accounts)
     {
         account.ClearEncryptedPassword();
         account.ClearEncryptedCharacterName();
     }
     MasterKeyCheck   = null;
     MasterKeyCheckIV = null;
     if (PasswordMasterKey != null)
     {
         PasswordMasterKey.Dispose();
     }
     PasswordMasterKey = null;
     Store();
 }