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

New Post: C# SSHNET ISSUE

$
0
0
    private void btnUpdate_Click(object sender, EventArgs e)
    {
        SshClient client = new SshClient("192.168.1.1", "Administrator", "");
        client.Connect();

        if (client.IsConnected) {
            MessageBox.Show("There is a connection");
        }

        client.RunCommand("System");

    }

As you suggested, I updated to the beta library!
However, it now says There is a connection, but it cannot run the command: Client not connected

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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