
Automate a Telnet Command
Quote:
> With VisualBasic.NET, would it be possible to create a
> button, and then when clicked automatically perform the
> commands to reboot a router. If so, does anyone have some
> sample code that I would be able to look at?
> For Example, I would like to create a button on a web page
> that says Reboot Router. When it is clicked, behind the
> seens, the router would get telneted into automatically,
> login, and issue the reboot command.
Here's an example of controlling a command prompt. Perhaps you could do
the same thing, but start up a telnet client and send commands:
http://groups.google.com/groups?selm=4po6VOuyBHA.1848%40cpmsftngxa07
&oe=UTF-8
--
Patrick Steele
Microsoft .NET MVP
http://radio.weblogs.com/0110109