DDown is a dotnet downloader API.
- Download by partitions
- Pause/Resume/Cancel downloads
You can stop the download with Pause
method and paused/stoped downloads can be resume with StartAsync
method.
using DDown;
var downloader = new Downloader(link);
var status = await downloader.PrepareAsync(); // status contain information about file. (e.g. Length, IsRangeSupported, PartitionCount)
await downloader.StartAsync();
if (!downloader.Canceled)
{
// this method will marge partitions
await downloader.MergeAsync();
}