Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Interacting with and also capturing an SSH session

$
0
0
There is an easy way to do this.

The ShellStream class has an event available called "DataReceived"

By registering to this event, one can get all data received by the shell stream regardless of whatever the Expect methods are doing.

The use case for doing this is to be able to send commands and parse results AND also capture everything coming from the ShellStream (eg for logging, etc).

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>