<PackageReference Include="SSH.NET" Version="2024.2.0" />

Renci.SshNet.Sftp.SftpUploadAsyncResult

Encapsulates the results of an asynchronous upload operation.
public bool IsUploadCanceled { get; set; }

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

public ulong UploadedBytes { get; }

Gets the number of uploaded bytes.

public SftpUploadAsyncResult(AsyncCallback asyncCallback, object state)

Initializes a new instance of the SftpUploadAsyncResult class.