RequestHelperGetRange Method (Int64, HttpContextBase, Boolean, Boolean, Boolean) |
Parses the range header from the request.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static long[,] GetRange(
long size,
HttpContextBase currentContext,
out bool isRangeRequest,
out bool isMultipart,
out bool areRangesValid
)
Parameters
- size
- Type: SystemInt64
Size of data. - currentContext
- Type: System.WebHttpContextBase
Current HTTP context - isRangeRequest
- Type: SystemBoolean
Indicates whether it is range request. - isMultipart
- Type: SystemBoolean
Indicates whether it is multipart range request. - areRangesValid
- Type: SystemBoolean
Indicates whether ranges are valid (or request is not range request).
Return Value
Type:
Int642D Array in format {{START_RANGE,END_RANGE},{START_RANGE, END_RANGE}}
See Also