Channel9Downloader.DataAccess.WebDownloader.WebDownloader C# (CSharp) 메소드

WebDownloader() 공개 메소드

Initializes a new instance of the WebDownloader class.
public WebDownloader ( ) : System
리턴 System
        public WebDownloader()
        {
            ServicePointManager.DefaultConnectionLimit = 16;
            _webClient = new WebClient();
            _webClient.DownloadFileCompleted += (sender, args) => RaiseDownloadFileCompleted(args);
            _webClient.DownloadProgressChanged += (sender, args) => RaiseDownloadProgressChanged(args);
        }