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

SftpDownloadAsyncResult

Encapsulates the results of an asynchronous download operation.
public ulong DownloadedBytes { get; }

Gets the number of downloaded bytes.

public bool IsDownloadCanceled { get; set; }

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

public SftpDownloadAsyncResult(AsyncCallback asyncCallback, object state)

Initializes a new instance of the SftpDownloadAsyncResult class.