Run SSH Command with Asynchronous method

Jun 10, 2015 at 8:31 AM
Hi everybody,

Now I want to create a program like putty with 2 textbox, textbox 1 displays result and textbox 2 to insert command.
It takes me a lot of time to receive the result with some command. I don't know when the result returns and can't user Thread.Sleep() to wait for the result.
I want to use async method to run command and get the result as soon as it returns.
Help me please.

Thank you and sorry for my terrible English :D