Click or drag to resize

ConnectionInfo Class

Represents remote connection information class.
Inheritance Hierarchy

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class ConnectionInfo : IDisposable

The ConnectionInfo type exposes the following members.

Constructors
 NameDescription
Public methodConnectionInfo(String, String, AuthenticationMethod) Initializes a new instance of the ConnectionInfo class.
Public methodConnectionInfo(String, Int32, String, AuthenticationMethod) Initializes a new instance of the ConnectionInfo class.
Public methodConnectionInfo(String, Int32, String, ProxyTypes, String, Int32, String, String, AuthenticationMethod) Initializes a new instance of the ConnectionInfo class.
Top
Properties
 NameDescription
Public propertyAuthenticationMethods Gets supported authentication methods for this connection.
Public propertyClientVersion Get the client version.
Public propertyCompressionAlgorithms Gets supported compression algorithms for this connection.
Public propertyCurrentClientCompressionAlgorithm Gets the current client compression algorithm.
Public propertyCurrentClientEncryption Gets the current client encryption.
Public propertyCurrentClientHmacAlgorithm Gets the current client hash algorithm.
Public propertyCurrentHostKeyAlgorithm Gets the current host key algorithm.
Public propertyCurrentKeyExchangeAlgorithm Gets the current key exchange algorithm.
Public propertyCurrentServerCompressionAlgorithm Gets the current server compression algorithm.
Public propertyCurrentServerEncryption Gets the current server encryption.
Public propertyCurrentServerHmacAlgorithm Gets the current server hash algorithm.
Public propertyEncoding Gets or sets the default encoding.
Public propertyEncryptions Gets supported encryptions for this connection.
Public propertyHmacAlgorithms Gets supported hash algorithms for this connection.
Public propertyHost Gets connection host.
Public propertyIsAuthenticated Gets a value indicating whether connection is authenticated.
Public propertyKeyExchangeAlgorithms Gets supported key exchange algorithms for this connection.
Public propertyMaxSessions Gets or sets maximum number of session channels to be open simultaneously.
Public propertyPort Gets connection port.
Public propertyProxyHost Gets proxy connection host.
Public propertyProxyPassword Gets proxy connection password.
Public propertyProxyPort Gets proxy connection port.
Public propertyProxyType Gets proxy type.
Public propertyProxyUsername Gets proxy connection username.
Public propertyRetryAttempts Gets or sets number of retry attempts when session channel creation failed.
Public propertyServerVersion Gets the server version.
Public propertyTimeout Gets or sets connection timeout.
Public propertyUsername Gets connection username.
Top
Methods
 NameDescription
Public methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean) Releases unmanaged and - optionally - managed resources
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventAuthenticationBanner Occurs when authentication banner is sent by the server.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also