Click or drag to resize

SftpClientReadLines(String) Method

Reads the lines of a file.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public IEnumerable<string> ReadLines(
	string path
)

Parameters

path  String
The file to read.

Return Value

IEnumerableString
The lines of the file.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also