AltoHttp
This simple library provides downloading over Http. It supports Pause and Resume in both for download and download queue
• Download file with just one line of code
• Get most useful properties of the download source such as ContentLength, Resumeability, ServerFileName..
• Due to event based programming, managing downloads is so easy
• Reports progress and speed every time when the progress is changed
• Create download queue with DownloadQueue and manage your download list
NugetGet AltoHttp at Nuget
Install-Package AltoHttp
Downloading is so simple #Usage
HttpDownloader downloader = new HttpDownloader(targetUrl,targetPath);
downloader.Start();
//PAUSE
downloader.Pause();
//RESUME
downloader.Resume(); //downloader.Resume(filePathToResume) resumes from the existing file
Queue using
DownloadQueue myQueue = new DownloadQueue();
myQueue.Add(targetUrl1,targetPath1);
myQueue.Add(targetUrl2,targetPath2);
myQueue.StartAsync();
//PAUSE
myQueue.Pause();
//RESUME
myQueue.ResumeAsync();
• Ability to edit Http request and response with events New Features:
• Using DownloadInfoReceived event you can ensure the headers (Content-Length, Resumeability, FileName) are received
• Resume capability improved to be able to resume on some sites that uses chunked stream e.g Google Drive New Features on 01.01.2021
• Native messaging methods added for who wants to integrate with browser using extension
• To prevent resume on file corruption, file validation based on MD5 added
• New exceptions defined to be able to handle exceptions in UI
• Download in some sites which Content-Length returns -1 (Unknown) succesfully handled
• DemoApplication changed and improved