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