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

            return(downloader);
        }