State Property  
 

Return the current state of the client session.

This property has been deprecated and should no longer be used in new applications.

Syntax

object.State

Remarks

The State read-only property returns the state of the client. The possible values returned by this property are:

Value Description
sshStatusUnused No connection has been established
sshStatusIdle The client is current idle and not sending or receiving data
sshStatusConnect The client is establishing a connection with the server
sshStatusAuthenticate The client is authenticating the session
sshStatusRead The client is reading data from the server
sshStatusWrite The client is writing data to the server
sshStatusDisconnect The client is disconnecting from the server

Data Type

Integer (Int32)

See Also