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

SftpHandleResponse

namespace Renci.SshNet.Sftp.Responses { internal sealed class SftpHandleResponse : SftpResponse { public override SftpMessageTypes SftpMessageType => SftpMessageTypes.Handle; public byte[] Handle { get; set; } public SftpHandleResponse(uint protocolVersion) : base(protocolVersion) { } protected override void LoadData() { base.LoadData(); Handle = ReadBinary(); } protected override void SaveData() { base.SaveData(); WriteBinary(Handle, 0, Handle.Length); } } }