SftpClient EndDownloadFile Method SSH .NET Client Library Documentation
Ends an asynchronous file downloading into the stream.

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

public void EndDownloadFile(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: OnlineSystem IAsyncResult
The pending asynchronous SFTP request.
Exceptions

ExceptionCondition
OnlineSystem 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.
See Also