ByteArrayContent Methods

The ByteArrayContent type exposes the following members.

Methods

  Name Description
Public method CopyToAsync(Stream) Write the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent.)
Public method CopyToAsync(Stream, TransportContext) Write the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent.)
Protected method CreateContentReadStreamAsync (Overrides HttpContent.CreateContentReadStreamAsync().)
Public method Dispose() Releases the unmanaged resources and disposes of the managed resources used by the HttpContent. (Inherited from HttpContent.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the HttpContent and optionally disposes of the managed resources. (Inherited from HttpContent.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method LoadIntoBufferAsync() Serialize the HTTP content to a memory buffer as an asynchronous operation. (Inherited from HttpContent.)
Public method LoadIntoBufferAsync(Int64) (Inherited from HttpContent.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadAsByteArrayAsync (Inherited from HttpContent.)
Public method ReadAsStreamAsync (Inherited from HttpContent.)
Public method ReadAsStringAsync (Inherited from HttpContent.)
Protected method SerializeToStreamAsync Serialize and write the byte array provided in the constructor to an HTTP content stream as an asynchronous operation. (Overrides HttpContent.SerializeToStreamAsync(Stream, TransportContext).)
Public method ToString (Inherited from Object.)
Protected method TryComputeLength Determines whether a byte array has a valid length in bytes. (Overrides HttpContent.TryComputeLength(Int64).)

Top

See Also

Reference

ByteArrayContent Class

System.Net.Http Namespace