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?
PeekData method
Receives incoming data without removing it from the buffer.
Type
Byte[]Syntax
- C#
- VB.NET
public Byte[] PeekData();
The PeekData() syntax has these parts:
The PeekData() syntax has these parts:
Return value | New byte array with received data. |
public Function PeekData() As Byte[]
The PeekData() syntax has these parts:
The PeekData() syntax has these parts:
Return value | New byte array with received data. |
Remarks
PeekData method is used to get data received from server represented as byte array, and store it to your program, but without removing it from wodSSH's incoming queue. Subsequent calls to PeekData or Receive/ReceiveData will return same bytes again.If you prefer to get String representation of the data, use Peek method instead.