Returns a Stream for reading data from the remote file.

Namespace:  Rebex.Net
Assembly:  Rebex.Sftp (in Rebex.Sftp.dll)

Syntax

Visual Basic
Public Function GetStream ( _
	remotePath As String, _
	mode As FileMode, _
	access As FileAccess _
) As Stream
C#
public Stream GetStream(
	string remotePath,
	FileMode mode,
	FileAccess access
)

Parameters

remotePath
Type: System..::..String
The path of the remote file.
mode
Type: System.IO..::..FileMode
How to open the remote file.
access
Type: System.IO..::..FileAccess
Which operations can be performed on the opened stream.

Return Value

A Stream for reading data from the remote file

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also