Quantcast
Channel: SSH.NET Library
Viewing all articles
Browse latest Browse all 2955

New Post: How to send results of client.RunCommand to a listbox WinForms C#

$
0
0
Instead of using
string output = client.RunCommand(command).ToString();
listBox1.Text = output;
use
var output = client.RunCommand(command)
listBox1.Items.Add(output.Result);

Viewing all articles
Browse latest Browse all 2955

Trending Articles



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