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

New Post: How to get command result which contains multiple lines...

$
0
0
You could use an array..

String[] myArray = cmd1.Result.Split(new char[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);

This will split the array based on carriage returns and new lines 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>