SftpExtendedReplyResponse
namespace Renci.SshNet.Sftp.Responses
{
internal sealed class SftpExtendedReplyResponse : SftpResponse
{
public override SftpMessageTypes SftpMessageType => SftpMessageTypes.ExtendedReply;
public SftpExtendedReplyResponse(uint protocolVersion)
: base(protocolVersion)
{
}
public T GetReply<T>() where T : IExtendedReplyInfo, new
{
T result = new T();
ref T reference = ref result;
T val = default(T);
if (val == null) {
val = reference;
ref reference = ref val;
}
reference.LoadData(base.DataStream);
return result;
}
}
}