Click or drag to resize

SftpClientOpenRead Method

Opens an existing file for reading.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public SftpFileStream OpenRead(
	string path
)

Parameters

path  String
The file to be opened for reading.

Return Value

SftpFileStream
A read-only System.IO.FileStream on the specified path.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also