Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpContent.CopyToAsync Method (Stream)

Write the HTTP content to a stream as an asynchronous operation.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)
public Task CopyToAsync(
	Stream stream
)

Parameters

stream
Type: System.IO.Stream
The target stream.

Return Value

Type: System.Threading.Tasks.Task
Returns Task.The task object representing the asynchronous operation.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.