Stream.CopyToAsync Method
.NET Framework (current version)
Asynchronously reads the bytes from the current stream and writes them to another stream.
Assembly: mscorlib (in mscorlib.dll)
| 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. |
Show:
