Example #1
0
 public IWebDownloader GetDownloader()
 {
     WebDownloader downloader = new WebDownloader(m_CacheDirectory)
         {
             ConnectionTimeout = ConnectionTimeout,
             MaximumContentSize = MaximumContentSize,
             ReadTimeout = ReadTimeout,
             UseCookies = UseCookies,
             UserAgent = UserAgent
         };
     return downloader;
 }
Example #2
0
        public IWebDownloader GetDownloader()
        {
            WebDownloader downloader = new WebDownloader(m_CacheDirectory)
            {
                ConnectionTimeout  = ConnectionTimeout,
                MaximumContentSize = MaximumContentSize,
                ReadTimeout        = ReadTimeout,
                UseCookies         = UseCookies,
                UserAgent          = UserAgent
            };

            return(downloader);
        }