Beispiel #1
0
 public Account(AccountInfo info)
 {
     Info = info;
     ActiveLabel = null;
     GmailImap = new GmailImapClient(Info.Address, Info.Password);
     MailStorage = new MailStorage(Info.Address);
 }
Beispiel #2
0
        public static void ClearAll()
        {
            IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication();

            if (storage.DirectoryExists(AccountDir))
            {
                DeleteDirectory(storage, AccountDir);
            }

            MailStorage.DeleteTempFiles();
        }