SftpClient BeginListDirectory Method SSH .NET Client Library Documentation
Begins an asynchronous operation of retrieving list of files in remote directory.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public IAsyncResult BeginListDirectory(
	string path,
	AsyncCallback asyncCallback,
	Object state,
	Action<int> listCallback = null
)

Parameters

path
Type: OnlineSystem String
The path.
asyncCallback
Type: OnlineSystem AsyncCallback
The method to be called when the asynchronous write operation is completed.
state
Type: OnlineSystem Object
A user-provided object that distinguishes this particular asynchronous write request from other requests.
listCallback (Optional)
Type: OnlineSystem Action OnlineInt32 
The list callback.

Return Value

An OnlineIAsyncResult that references the asynchronous operation.
See Also