Adds HTTP Range header to the request with 'bytes' unit.

Namespace:  Rebex.Net
Assembly:  Rebex.Http (in Rebex.Http.dll)

Syntax

Visual Basic
Public Sub AddRange ( _
	offset As Long _
)
C#
public void AddRange(
	long offset
)

Parameters

offset
Type: System..::..Int64
The position (zero-based) at which the data starts. Negative number means the offset is relative to the end of the data.

Examples

offset = 100 results to "Range: bytes=100-", which means: from position 100 to the end of data.

offset = -100 results to "Range: bytes=-100", which means: the last 100 bytes of the data.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also