HttpContent Class
A base class representing an HTTP entity body and content headers.
System::Object
System.Net.Http::HttpContent
System.Net.Http::ByteArrayContent
System.Net.Http::MultipartContent
System.Net.Http::StreamContent
System.Net.Http::HttpContent
System.Net.Http::ByteArrayContent
System.Net.Http::MultipartContent
System.Net.Http::StreamContent
Namespace: System.Net.Http
Assembly: System.Net.Http (in System.Net.Http.dll)
The HttpContent type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CopyToAsync(Stream) | Write the HTTP content to a stream as an asynchronous operation. |
![]() | CopyToAsync(Stream, TransportContext) | Write the HTTP content to a stream as an asynchronous operation. |
![]() | CreateContentReadStreamAsync | |
![]() | Dispose() | Releases the unmanaged resources and disposes of the managed resources used by the HttpContent. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the HttpContent and optionally disposes of the managed resources. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | LoadIntoBufferAsync() | Serialize the HTTP content to a memory buffer as an asynchronous operation. |
![]() | LoadIntoBufferAsync(Int64) | |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ReadAsByteArrayAsync | |
![]() | ReadAsStreamAsync | |
![]() | ReadAsStringAsync | |
![]() | SerializeToStreamAsync | Serialize the HTTP content to a stream as an asynchronous operation. |
![]() | ToString | (Inherited from Object.) |
![]() | TryComputeLength | Determines whether the HTTP content has a valid length in bytes. |
Show:


