Re: WaitFor fails while Prompt works (General questions)
Hi,
In that case, you'll need to catch an error, and code like this to send CTRL-C :
[code]
byte a = 3;
char b = Convert.ToChar(a);
ssh1.Send(b.ToString());
[/code]
Hope this helps.
Regards,
Damba