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?
DataReady property
Holds the total numbers of bytes waiting to be received by your application.
Type
Integer. Total bytes in the incoming buffer.Syntax
- C#
- VB.NET
Int32 DataReady {get; set; };
Property DataReady As Int32
Remarks
The DataReady property will return the total number of bytes currently waiting in wodSSH.NET's buffers, for you to read with the Receive method. You shouldn't rely too much on its accuracy since its value can change internally very quickly as more data arrives in wodSSH.NET. In Blocking mode it is often better not to call the Receive method and wait for the timeout to expire if there is no data waiting already.You can set this value to 0, or to any value lower than it currently contains. In this case wodSSH.NET will "consume" bytes up to the value that you define.