Example #1
0
 //- @GetArchivedEntryList -//
 public static List <ArchiveCount> GetArchivedEntryList(String blogGuid)
 {
     using (BlogClient blogClient = new BlogClient(BlogSection.GetConfigSection().Service.Endpoint.Blog))
     {
         blogClient.ClientCredentials.UserName.UserName = BlogSection.GetConfigSection().Service.Authentication.DefaultUserName;
         blogClient.ClientCredentials.UserName.Password = BlogSection.GetConfigSection().Service.Authentication.DefaultPassword;
         //+
         return(blogClient.GetArchivedEntryList(blogGuid));
     }
 }
Example #2
0
 //- @GetArchivedEntryList -//
 public static List <ArchiveCount> GetArchivedEntryList(String blogGuid)
 {
     using (BlogClient blogClient = new BlogClient(MinimaConfiguration.ActiveBlogServiceEndpoint))
     {
         blogClient.ClientCredentials.UserName.UserName = MinimaConfiguration.DefaultServiceUserName;
         blogClient.ClientCredentials.UserName.Password = MinimaConfiguration.DefaultServicePassword;
         //+
         return(blogClient.GetArchivedEntryList(blogGuid));
     }
 }