ConnectionInfo
Represents remote connection information class.
Gets supported authentication methods for this connection.
Gets or sets the timeout to use when waiting for a server to acknowledge closing a channel.
Gets the supported channel requests for this connection.
Gets the client version.
Gets supported compression algorithms for this connection.
Gets the current client compression algorithm.
Gets the current client encryption.
Gets the current client hash algorithm.
Gets the current host key algorithm.
Gets the current key exchange algorithm.
Gets the current server compression algorithm.
Gets the current server encryption.
Gets the current server hash algorithm.
Gets or sets the character encoding.
Gets supported encryptions for this connection.
Gets supported hash algorithms for this connection.
Gets connection host.
Gets supported host key algorithms for this connection.
Gets a value indicating whether connection is authenticated.
Gets supported key exchange algorithms for this connection.
Gets or sets maximum number of session channels to be open simultaneously.
Gets connection port.
Gets proxy connection host.
Gets proxy connection password.
Gets proxy connection port.
Gets proxy type.
Gets proxy connection username.
Gets or sets number of retry attempts when session channel creation failed.
Gets the server version.
Gets or sets connection timeout.
Gets connection username.
Occurs when authentication banner is sent by the server.
Initializes a new instance of the ConnectionInfo class.
public ConnectionInfo(string host, int port, string username, AuthenticationMethod[] authenticationMethods)
Initializes a new instance of the ConnectionInfo class.
public ConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, AuthenticationMethod[] authenticationMethods)
Initializes a new instance of the ConnectionInfo class.