Represents a byte range in a Range header value.
Assembly: System.Net.Http (in System.Net.Http.dll)
Initializes a new instance of theclass.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as a hash function for an Object.GetHashCode().)object.(Overrides
Returns a string that represents the current Object.ToString().)object.(Overrides
Creates a new object that is a copy of the currentinstance.
A Range header can specify multiple byte ranges.
An example of a byte-range in a Range header in an HTTP protocol request that requests the first 100 bytes would be would be the following:
A HTTP server indicates support for Range headers with the Accept-Ranges header. An example of the Accept-Ranges header from a server that supports byte-ranges would be as follows:
If an Accept-Ranges header is not received in the header of the response from the server, then the server does not support Range headers. An example of the Accept-Ranges header from a server that does not support ranges, but recognizes the Accept-Ranges header, would be as follows:
Available since 8
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.