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?
KeepAlives property
Defines number of seconds of inactivity before KeepAlive ignore packets are sent.
Type
Short.Syntax
- C#
- VB.NET
Int16 KeepAlives {get; set; };
Property KeepAlives As Int16
Remarks
KeepAlives value specifies how many seconds of must pass without any activity between wodSSH.NET and remote server before wodSSH.NET sends "KeepAlive" packet to test if connection is still open or not. This is useful if you want to set Timeout = 0, but still would like to occasionally test if connection is established. Since possible connection problems occur when data is being transmitted, KeepAlives (also known as Ignore/None packets) are sent. They are ignored by the server, but if connection is broken error is reported so you can try to reconnect.Leaving KeepAlives = 0 will prevent from sending those packets.