Class SftpDownloadAsyncResult
- Namespace
- Renci.SshNet.Sftp
- Assembly
- Renci.SshNet.dll
Encapsulates the results of an asynchronous download operation.
public class SftpDownloadAsyncResult : AsyncResult, IAsyncResultInheritance
Implements
Inherited Members
Constructors
SftpDownloadAsyncResult(AsyncCallback, object)
Initializes a new instance of the Renci.SshNet.Sftp.SftpDownloadAsyncResult class.
public SftpDownloadAsyncResult(AsyncCallback asyncCallback, object state)Parameters
asyncCallbackAsyncCallback-
The async callback.
stateobject-
The state.
Properties
DownloadedBytes
Gets the number of downloaded bytes.
public ulong DownloadedBytes { get; }Property Value
IsDownloadCanceled
Gets or sets a value indicating whether to cancel asynchronous download operation.
public bool IsDownloadCanceled { get; set; }Property Value
Remarks
Download operation will be canceled after finishing uploading current buffer.