コード例 #1
0
 public MailStoreProviderHTTP(string userName, string password)
     : base(userName, password)
 {
     var user = HttpUtil.GetItemAsync<User>(string.Empty).Result;
     DisplayName = user.Id;
     RootFolder = new MailFolderProviderHTTP(null, DisplayName);
 }
コード例 #2
0
        public MailStoreProviderHTTP(string userName, string password)
        {
            AuthenticationHelperHTTP.Initialize(userName, password);

            var user = HttpUtilSync.GetItem<User>(string.Empty);
            DisplayName = user.Id;
            RootFolder = new MailFolderProviderHTTP(null, DisplayName);
        }
コード例 #3
0
        public MailStoreProviderHTTP(string userName, string password)
        {
            AuthenticationHelperHTTP.Initialize(userName, password);

            var user = HttpUtilSync.GetItem <User>(string.Empty);

            DisplayName = user.Id;
            RootFolder  = new MailFolderProviderHTTP(null, DisplayName);
        }