Back to product page
- Introduction
- Overview
- License Agrement
- Getting Started
- Objects
- Enumerations
- wodSSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- ClientName
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encoding
- Encryption
- EncryptionList
- ErrorText
- ExitSignal
- ExitStatus
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyForward
- KeySignatureList
- LastError
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StateText
- StripANSI
- StripNull
- Subsystem
- TerminalSpeed
- TerminalType
- Timeout
- UseIPv6
- Version
- Events
- IwodSSHNotify
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Peek method
Receives incoming data without removing it from the buffer.
Type
A String valueSyntax
- Basic
object.Peek ()
The Peek(object) syntax has these parts:
The Peek(object) syntax has these parts:
object | An expression evaluating to an object of type wodSSH. |
Remarks
The Peek method will return the contents of the incoming buffer, without removing it from the buffer. It can be used to check if the expected data has been received so that it can be read all at once. You can call the Peek method as many times as you like - it will not block wodSSH in any way (whether or not Blocking is set).This method will always return a string expression - unlike the Receive method it cannot return byte arrays.