IProtocolVersionExchange
interface IProtocolVersionExchange
Handles the SSH protocol version exchange.
using System;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace Renci.SshNet.Connection
{
internal interface IProtocolVersionExchange
{
SshIdentification Start(string clientVersion, Socket socket, TimeSpan timeout);
Task<SshIdentification> StartAsync(string clientVersion, Socket socket, CancellationToken cancellationToken);
}
}