internal virtual object?Send(IAgentMessage message) { using var socketStream = new SshAgentSocketStream(_socketPath); using var writer = new AgentWriter(socketStream); using var reader = new AgentReader(socketStream); message.To(writer); return(message.From(reader)); }
internal override object?Send(IAgentMessage message) { using var socketStream = new PageantSocketStream(); using var writer = new AgentWriter(socketStream); using var reader = new AgentReader(socketStream); message.To(writer); socketStream.Send(); return(message.From(reader)); }