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