Channel9Downloader.DataAccess.WebDownloader.WebDownloader C# (CSharp) Method

WebDownloader() public method

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