The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ByteRangeStreamContent.TryComputeLength Method

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


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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft