Begins an asynchronous operation of retrieving list of files in remote directory.
Namespace: Renci.SshNetAssembly: 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:
System String
The path.
- asyncCallback
- Type:
System AsyncCallback
The method to be called when the asynchronous write operation is completed.
- state
- Type:
System Object
A user-provided object that distinguishes this particular asynchronous write request from other requests.
- listCallback (Optional)
- Type:
System Action
Int32
The list callback.
Return Value
AnSee Also