Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Stream.CopyTo Method

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
Public method Supported by Portable Class Library CopyTo(Stream) Reads the bytes from the current stream and writes them to another stream.
Public method Supported by Portable Class Library CopyTo(Stream, Int32) Reads the bytes from the current stream and writes them to another stream, using a specified buffer size.
Top
Show:
© 2015 Microsoft