Renci.SshNet.IConnectionInfo
interface IConnectionInfo
Represents remote connection information.
namespace Renci.SshNet.Messages.Transport
{
public enum DisconnectReason
{
None,
HostNotAllowedToConnect,
ProtocolError,
KeyExchangeFailed,
Reserved,
MacError,
CompressionError,
ServiceNotAvailable,
ProtocolVersionNotSupported,
HostKeyNotVerifiable,
ConnectionLost,
ByApplication,
TooManyConnections,
AuthenticationCanceledByUser,
NoMoreAuthenticationMethodsAvailable,
IllegalUserName
}
}
namespace Renci.SshNet
{
internal interface IConnectionInfo
{
TimeSpan ChannelCloseTimeout { get; }
IDictionary<string, RequestInfo> ChannelRequests { get; }
Encoding Encoding { get; }
string Host { get; }
int Port { get; }
ProxyTypes ProxyType { get; }
string ProxyHost { get; }
int ProxyPort { get; }
string ProxyUsername { get; }
string ProxyPassword { get; }
int RetryAttempts { get; }
TimeSpan Timeout { get; }
event EventHandler<AuthenticationBannerEventArgs> AuthenticationBanner;
}
}