PasswordManagerLib/PasswordManagerCore.cs
/// <summary>
/// If you logged remove this account
/// </summary>
/// <returns>If account is remove return true</returns>
If you logged remove this account
If you logged remove this account
public bool RemoveAccount()
          {
                if (this.IsLogged && this.LoggedAccount != null)
                {
                    this.Accounts.Remove(this.LoggedAccount);
                    this.LoggedAccount = null;
                    this.IsLogged = false;
                    this.SaveAccounts();
                    GC.Collect();
                    return true;
                }
                else throw new NotLoggedExeption("You are not auth!");
          }
public bool RemoveAccount ( ) { if ( this . IsLogged && this . LoggedAccount != null ) { this . Accounts . Remove ( this . LoggedAccount ) ; this . LoggedAccount = null ; this . IsLogged = false ; this . SaveAccounts ( ) ; GC . Collect ( ) ; return true ; } else throw new NotLoggedExeption ( " " ) ; }
If you logged remove this account
If you logged remove this account
If account is remove return true
If account is remove return true