Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.SSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encryption
- EncryptionList
- ExitSignal
- ExitStatus
- FingerPrintType
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyFowarding
- Login
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StripANSI
- Subsystem
- TerminalType
- Timeout
- Version
- Events
- How to get support?
StateChangedEvent event
Fires when wodSSH.NET changes its state.
Syntax
- C#
- VB.NET
Remarks
StateChange event is fired each time wodSSH.NET internal state changes. Initially, it is set to Disconnected. Once you initiate new connection, it will change to Connecting, etc..Using this event you can see if there is something happening with wodSSH.NET, or it is idle and waiting for your commands. To obtain information about old and current state, consult Args.OldState and Args.NewState properties.
You can determine current state using State property.