PowerTCP SSH and SFTP for .NET
Connection Class Members
Fields  Properties  Methods 


The following tables list the members exposed by Connection.

Public Fields
 NameDescription
Public FieldIdentification The identifier presented to the SSH-2 server.  
Top
Public Properties
 NameDescription
Public PropertyAuthenticationComplete Indicates whether the authentication phase is complete.  
Public PropertyAuthenticationPartialSuccess Returns true if there was at least one failed authentication request and the server marked the last failed authentication request "partial success".  
Public Propertystatic (Shared in Visual Basic)AvailableCiphers Returns a list of supported cipher algorithms.  
Public Propertystatic (Shared in Visual Basic)AvailableKeyExchangeAlgorithms Returns a list of supported key exchange algorithms.  
Public Propertystatic (Shared in Visual Basic)AvailableMACs Returns a list of supported MAC algorithms.  
Public Propertystatic (Shared in Visual Basic)AvailableServerHostKeyAlgorithms Returns a list of supported server host key algorithms.  
Public PropertyClient2ServerCiphers Returns a list of ciphers available for the client-to-server direction, in order of preference.  
Public PropertyClient2ServerMACs Returns a list of MACs available for the client-to-server direction, in order of preference.  
Public PropertyConnectionInfo Used to get or set the response timeout value in milliseconds.  
Public PropertyDHGexParameters Parameters used in the diffie-hellman group exchange.  
Public PropertyKeyExchangeAlgorithms Returns a list of available key exchange algorithms, in order of preference.  
Public PropertyLocalEndPoint EndPoint to bind to locally.  
Public PropertyNegotiateCompression Enables compression negotiation.  
Public PropertyProxy The Proxy used when establishing the connection via proxy.  
Public PropertyRemoteEndPoint EndPoint of the remote host to connect to.  
Public PropertyServer2ClientCiphers Returns a list of ciphers available for the server-to-client direction, in order of preference.  
Public PropertyServer2ClientMACs Returns a list of macs available for the server-to-client direction, in order of preference.  
Public PropertyServerHostKeyAlgorithms Returns a list of available host key algorithms, in order of preference.  
Public PropertyTcpNoDelay Enables TCP_NODELAY (Nagle's algorithm) on the underlying socket.  
Top
Public Methods
 NameDescription
Public MethodGetRemainingAuthMethods Checks which authentication methods are supported by the server at the current stage of the authentication process.  
Public MethodGetSchema This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.  
Public MethodIsAuthMethodAvailable Checks if the specified authentication method is available.  
Public MethodOpenSessionOverloaded. Opens a new Session on this connection.  
Public MethodReadXml Generates an object from its XML representation.  
Public MethodWriteXml Converts an object into its XML representation.  
Top
See Also

Reference

Connection Class
Dart.Ssh Namespace


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic