Skip to content

alimozdemir/DDown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDown

DDown is a dotnet downloader API.

Features

  • 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.

Example

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();
}