UrlDownloadLib 0.0.27

Simple HTTP/S files downloader, supporting multi parts connections

Install-Package UrlDownloadLib -Version 0.0.27
dotnet add package UrlDownloadLib --version 0.0.27
<PackageReference Include="UrlDownloadLib" Version="0.0.27" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UrlDownloadLib --version 0.0.27
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: UrlDownloadLib, 0.0.27"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install UrlDownloadLib as a Cake Addin
#addin nuget:?package=UrlDownloadLib&version=0.0.27

// Install UrlDownloadLib as a Cake Tool
#tool nuget:?package=UrlDownloadLib&version=0.0.27
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

UrlDownloadLib

Simple HTTP/S file download library supporting multi parts connections, based on Range Http Header

Installation

Download from nuget or build from source, this package designed using .Net framework 4.6.1 but you can change to any framework you need.

Usage

UrlDownloadSettings settings = new UrlDownloadSettings()
{
    //download directory
    downloadDirectory = @"E:\UrlDownloaderCache\",
};


//new file instnace, set number of workers
UrlDownloadFile file = new UrlDownloadFile("<LinkToFile>") { numberOfWorkers = 1};

//signup to reports events
DownloadWorker worker = new DownloadWorker(settings);
worker.PartProgressEvent += Worker_PartProgressEvent;
worker.WorkerProgressEvent += Worker_WorkerProgressEvent;

//start downloading
worker.executeWorker(file);

//dont kill the application
while (worker.isRunning) {
    Thread.Sleep(1000);
}

UrlDownloadLib

Simple HTTP/S file download library supporting multi parts connections, based on Range Http Header

Installation

Download from nuget or build from source, this package designed using .Net framework 4.6.1 but you can change to any framework you need.

Usage

UrlDownloadSettings settings = new UrlDownloadSettings()
{
    //download directory
    downloadDirectory = @"E:\UrlDownloaderCache\",
};


//new file instnace, set number of workers
UrlDownloadFile file = new UrlDownloadFile("<LinkToFile>") { numberOfWorkers = 1};

//signup to reports events
DownloadWorker worker = new DownloadWorker(settings);
worker.PartProgressEvent += Worker_PartProgressEvent;
worker.WorkerProgressEvent += Worker_WorkerProgressEvent;

//start downloading
worker.executeWorker(file);

//dont kill the application
while (worker.isRunning) {
    Thread.Sleep(1000);
}

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.27 441 2/14/2019