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

SftpSynchronizeDirectoriesAsyncResult

Encapsulates the results of an asynchronous directory synchronization operation.
using Renci.SshNet.Common; using System; using System.Collections.Generic; using System.IO; namespace Renci.SshNet.Sftp { public class SftpSynchronizeDirectoriesAsyncResult : AsyncResult<IEnumerable<FileInfo>> { public int FilesRead { get; set; } public SftpSynchronizeDirectoriesAsyncResult(AsyncCallback asyncCallback, object state) : base(asyncCallback, state) { } internal void Update(int filesRead) { FilesRead = filesRead; } } }