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

Renci.SshNet.Sftp.SftpFileStream

public class SftpFileStream : Stream
Exposes a Stream around a remote SFTP file, supporting both synchronous and asynchronous read and write operations.
namespace Renci.SshNet.Sftp { public class SftpFileStream : Stream { public string Name { get; } public virtual byte[] Handle { get; } public TimeSpan Timeout { get; set; } } }