Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
System.Net
AddRange Method
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
.NET Framework Class Library
HttpWebRequest..::.AddRange Method

Adds a range header to the request.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public methodAddRange(Int32)Adds a byte range header to a request for a specific range from the beginning or end of the requested data.
Public methodAddRange(Int64)Adds a byte range header to a request for a specific range from the beginning or end of the requested data.
Public methodAddRange(Int32, Int32)Adds a byte range header to the request for a specified range.
Public methodAddRange(Int64, Int64)Adds a byte range header to the request for a specified range.
Public methodAddRange(String, Int32)Adds a Range header to a request for a specific range from the beginning or end of the requested data.
Public methodAddRange(String, Int64)Adds a Range header to a request for a specific range from the beginning or end of the requested data.
Public methodAddRange(String, Int32, Int32)Adds a range header to a request for a specified range.
Public methodAddRange(String, Int64, Int64)Adds a range header to a request for a specified range.
Top

Since all HTTP entities are represented in HTTP messages as sequences of bytes, the concept of a byte range is meaningful for any HTTP entity. However, not all clients and servers need to support byte-range operations.

The Range header on a request allows a client to request that it only wants to receive some part of the specified range of bytes in an HTTP entity. Servers are not required to support Range header requests.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker