Export (0) Print
Expand All
6 out of 6 rated this helpful - Rate this topic

Stream.CopyTo Method

Copies the contents the current stream into another stream.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method CopyTo(Stream) Reads the bytes from the current stream and writes them to the destination stream.
Public method CopyTo(Stream, Int32) Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.