Returns a Stream for reading data from the remote file.
Namespace:
Rebex.Net
Assembly:
Rebex.FileTransfer (in Rebex.FileTransfer.dll)
Syntax
Visual Basic |
---|
Public Function GetDownloadStream ( _ remotePath As String, _ origin As SeekOrigin, _ offset As Long _ ) As Stream |
C# |
---|
public Stream GetDownloadStream( string remotePath, SeekOrigin origin, long offset ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file.
- origin
- Type: System.IO..::..SeekOrigin
Position indicator that is used to obtain new position within the stream.
- offset
- Type: System..::..Int64
A byte offset relative to the origin parameter.