Copy a stream to an other

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Sub Copy ( _
	from As Stream, _
	to As Stream _
)
C#
public static void Copy(
	Stream from,
	Stream to
)

Parameters

from
Type: System.IO..::..Stream
/Source
to
Type: System.IO..::..Stream
Destination

See Also