/// <summary> /// Get rid of the evidence /// </summary> public void Dispose() { if (PasswordMasterKey != null) { PasswordMasterKey.Dispose(); PasswordMasterKey = null; } }
/// <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(); }