Class SftpDownloadAsyncResult
Encapsulates the results of an asynchronous download operation.
public class SftpDownloadAsyncResult : AsyncResult, IAsyncResult
- Inheritance
-
SftpDownloadAsyncResult
- Implements
- Inherited Members
Constructors
SftpDownloadAsyncResult(AsyncCallback, object)
Initializes a new instance of the SftpDownloadAsyncResult class.
public SftpDownloadAsyncResult(AsyncCallback asyncCallback, object state)
Parameters
asyncCallback
AsyncCallbackThe async callback.
state
objectThe 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.