Renci.SshNet.Sftp.SftpDownloadAsyncResult.Update C# (CSharp) Method

Update() private method

Updates asynchronous operation status information.
private Update ( ulong downloadedBytes ) : void
downloadedBytes ulong Number of downloaded bytes.
return void
        internal void Update(ulong downloadedBytes)
        {
            DownloadedBytes = downloadedBytes;
        }
    }

Usage Example

コード例 #1
0
        public void Update()
        {
            var target = new SftpDownloadAsyncResult(null, null);

            target.Update(123);
            target.Update(431);

            Assert.AreEqual(431UL, target.DownloadedBytes);
        }
All Usage Examples Of Renci.SshNet.Sftp.SftpDownloadAsyncResult::Update
SftpDownloadAsyncResult