Results 1 to 2 of 2

Thread: Segmented Downloader Library

  1. #1
    mnxford is offline C# Forum Newbie
    .NET Framework
    .NET 4.5
    Join Date
    Jan 2017
    Rep Power

    Segmented Downloader Library

    Hello Guys,

    I have been trying to make an Download Manager same as the IDM using C# for couple of days now. But the segmentation download similar to IDM is very hard to implement. While searching through online I came across a project with library and plugins system. The core library is responsible for multi-threaded, multiple files, custom segmented downloads. But due to the plugins complex coding structure I couldn't figure out how the .dll files works so that I can implement it easily in my downloader software interface like an API. I will upload the .dll source code in this post. If possible can anyone show me any way to do whatever is done in the .dll file in any easy way? Or how I can optimize the .dll to work as an simple API which will just do the segmented download and all other functions removed.

    [COLOR=#333333]Thanks in advance...
    Attached Files Attached Files
    Last edited by JohnH; 01-11-2017 at 11:09 AM. Reason: removed bin + obj folders from attachment

  2. #2
    JohnH's Avatar
    JohnH is offline C# Forum Moderator
    .NET Framework
    .NET 4.5
    Join Date
    Apr 2011
    Rep Power
    In case you want to implement partial downloads yourself this can be done with HttpWebRequest and AddRange method, or HttpClient with .DefaultRequestHeaders.Range property.
    Check for HttpStatusCode.PartialContent, because server is not required to support this functionality.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts