Click or drag to resize

SftpClientBeginListDirectory Method

Begins 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 IAsyncResult BeginListDirectory(
	string path,
	AsyncCallback asyncCallback,
	Object state,
	Action<int> listCallback
)

Parameters

path  String
The path.
asyncCallback  AsyncCallback
The method to be called when the asynchronous write operation is completed.
state  Object
A user-provided object that distinguishes this particular asynchronous write request from other requests.
listCallback  ActionInt32
The list callback.

Return Value

IAsyncResult
An IAsyncResult that references the asynchronous operation.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also