How to specify range >2GB for HttpWebRequest in .NET 3.5

前端 未结 4 908
北荒
北荒 2021-01-14 16:23

I\'m building this class to download files in parts/sections/segments. In .NET 4.0, I can use this code to specify the range to download from

long startPos =         


        
4条回答
  •  心在旅途
    2021-01-14 16:33

    Since .NET 4, HttpWebRequest.AddRange() supports long: http://msdn.microsoft.com/en-us/library/dd992108.aspx

提交回复
热议问题