Channel9Downloader.DataAccess.WebDownloader.WebDownloader C# (CSharp) Méthode

WebDownloader() public méthode

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