PasswordManagerLib/PasswordManagerCore.cs
///<summary>
///Method for load Accounts from file
///</summary>
Method for load Accounts from file
Method for load Accounts from file
private List<Account> LoadAccounts()
      {
         List<Account> ac;
            using(XmlReader reader = XmlReader.Create(AccountFile))
            {
               ac = (List<Account>)this.AccountsSerializer.Deserialize(reader);
            }
         return ac;
      }
private List < Account > LoadAccounts ( ) { List < Account > ac ; using ( XmlReader reader = XmlReader . Create ( AccountFile ) ) { ac = ( List < Account > ) this . AccountsSerializer . Deserialize ( reader ) ; } return ac ; }
Method for load Accounts from file
Method for load Accounts from file
//Create a list //Create a reader //Read from file