Loupe - Log - Monitor - Resolve
Gibraltar Namespace / FileSystemTools Class / StreamContentPump Method / StreamContentPump(Stream,Stream) Method
The Stream to read from, starting at its current Position.
The Stream to write into, starting at its current Position.

In This Topic
    StreamContentPump(Stream,Stream) Method
    In This Topic
    Pump the remaining contents of one stream at its current Position into another stream at its current Position.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function StreamContentPump( _
       ByVal sourceStream As Stream, _
       ByVal destinationStream As Stream _
    ) As Long
    public static long StreamContentPump( 
       Stream sourceStream,
       Stream destinationStream
    )

    Parameters

    sourceStream
    The Stream to read from, starting at its current Position.
    destinationStream
    The Stream to write into, starting at its current Position.

    Return Value

    The total number of bytes copied.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also