ByteRangeStreamContent.TryComputeLength Method (Int64)

 

Determines whether a byte array has a valid length in bytes.

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

protected override bool TryComputeLength(
	out long length
)

Parameters

length
Type: System.Int64

The length in bytes of the byte array.

Return Value

Type: System.Boolean

true if length is a valid length; otherwise, false.

Return to top
Show: