Stream.CopyToAsync Method
.NET Framework 4.5
Asynchronously reads the bytes from the current stream and writes them to another stream.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
CopyToAsync(Stream) | Asynchronously reads the bytes from the current stream and writes them to another stream. |
|
CopyToAsync(Stream, Int32) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size. |
|
CopyToAsync(Stream, Int32, CancellationToken) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token. |