Click or drag to resize

SftpClientEndListDirectory Method

Ends an asynchronous operation of retrieving list of files in remote directory.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public IEnumerable<SftpFile> EndListDirectory(
	IAsyncResult asyncResult
)

Parameters

asyncResult  IAsyncResult
The pending asynchronous SFTP request.

Return Value

IEnumerableSftpFile
List of files
Exceptions
ExceptionCondition
ArgumentExceptionThe IAsyncResult object (asyncResult) did not come from the corresponding async method on this type.

-or-

EndExecute was called multiple times with the same IAsyncResult.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also