Class ByteRange

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Model class for ByteRangeRequest implemementing RFC2616 (14.35.1 Byte Ranges)

Inheritance
System.Object
ByteRange
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Web.Internal
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public class ByteRange
Remarks

Supports wildcarding both start and stop range. If the start range is NULL it means we should treat end range as "last X bytes". If the end range is NULL we should take all content from the start position and forward.

Properties

ContentLength

Declaration
public long ContentLength { get; }
Property Value
Type Description
System.Int64

RangeEnd

Declaration
public long RangeEnd { get; }
Property Value
Type Description
System.Int64

RangeLength

Declaration
public long RangeLength { get; }
Property Value
Type Description
System.Int64

RangeStart

Declaration
public long RangeStart { get; }
Property Value
Type Description
System.Int64

Methods

GetContentRangeHeader()

Declaration
public string GetContentRangeHeader()
Returns
Type Description
System.String

Extension Methods