SftpDownloadAsyncResult
Encapsulates the results of an asynchronous download operation.
            
                using Renci.SshNet.Common;
using System;
namespace Renci.SshNet.Sftp
{
    public class SftpDownloadAsyncResult : AsyncResult
    {
        public bool IsDownloadCanceled { get; set; }
        public ulong DownloadedBytes { get; set; }
        public SftpDownloadAsyncResult(AsyncCallback asyncCallback, object state)
            : base(asyncCallback, state)
        {
        }
        internal void Update(ulong downloadedBytes)
        {
            DownloadedBytes = downloadedBytes;
        }
    }
}