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.
This topic has not yet been rated - Rate this topic

StreamContent Class

Provides HTTP content based on a stream.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)
Public Class StreamContent _
	Inherits HttpContent
Dim instance As StreamContent

The StreamContent type exposes the following members.

Public methodStreamContent(Stream)Initializes a new instance of the StreamContent class.
Public methodStreamContent(Stream, Int32)Initializes a new instance of the StreamContent class.
Public propertyHeadersGets the HTTP content headers as defined in RFC 2616. (Inherited from HttpContent.)
Public methodCopyToAsync(Stream)Write the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent.)
Public methodCopyToAsync(Stream, TransportContext)Write the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent.)
Protected methodCreateContentReadStreamAsync (Overrides HttpContent.CreateContentReadStreamAsync.)
Public methodDisposeReleases the unmanaged resources and disposes of the managed resources used by the HttpContent. (Inherited from HttpContent.)
Protected methodDispose(Boolean) (Overrides HttpContent.Dispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoadIntoBufferAsyncSerialize the HTTP content to a memory buffer as an asynchronous operation. (Inherited from HttpContent.)
Public methodLoadIntoBufferAsync(Int64) (Inherited from HttpContent.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadAsByteArrayAsync (Inherited from HttpContent.)
Public methodReadAsStreamAsync (Inherited from HttpContent.)
Public methodReadAsStringAsync (Inherited from HttpContent.)
Protected methodSerializeToStreamAsync (Overrides HttpContent.SerializeToStreamAsync(Stream, TransportContext).)
Public methodToString (Inherited from Object.)
Protected methodTryComputeLength (Overrides HttpContent.TryComputeLength(Int64).)
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.