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.

PushStreamContent.TryComputeLength Method

Determines whether the stream content 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 stream content.

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
© 2014 Microsoft