ShellStreamReadLine(TimeSpan) Method |
Reads the line from the shell. If line is not available it will block the execution and will wait for new line.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic string ReadLine(
TimeSpan timeout
)
Parameters
- timeout TimeSpan
- Time to wait for input.
Return Value
String
The line read from the shell, if the specified time elapsed returns null.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also