Example #1
0
 private void EncodeAll()
 {
     if (accounts == null)
     {
         return;
     }
     foreach (Account account in accounts)
     {
         account.WebSite  = EncryptionSystem.Encode(account.WebSite);
         account.Login    = EncryptionSystem.Encode(account.Login);
         account.Password = EncryptionSystem.Encode(account.Password);
     }
     FileSystem.BinarySerialize(accounts, path);
     File.SetAttributes(path, FileAttributes.Hidden);
 }