Table of Contents

Class SftpUploadAsyncResult

Namespace
Renci.SshNet.Sftp
Assembly
Renci.SshNet.dll

Encapsulates the results of an asynchronous upload operation.

public class SftpUploadAsyncResult : AsyncResult, IAsyncResult

Inheritance

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

asyncCallback AsyncCallback

The async callback.

state object

The state.

Properties

IsUploadCanceled

Gets or sets a value indicating whether to cancel asynchronous upload operation.

public bool IsUploadCanceled { get; set; }

Property Value

bool

Remarks

Upload operation will be canceled after finishing uploading current buffer.

UploadedBytes

Gets the number of uploaded bytes.

public ulong UploadedBytes { get; }

Property Value

ulong