虽然版本有点老,但确实比较好使。

 http://www.klausbasan.de/misc/telnet/  要出国

这里方便大家下载,telnet.zip

使用比较简单:

string f = null;
Terminal tn = new Terminal("192.168.1.1"); // hostname, port, timeout [s], width, height
tn.Connect(); // physcial connection
f = tn.WaitForString("Login:");
if (f == null)
    throw new TerminalException("No login possible");
tn.SendResponse("admin", true);	// send username
tn.Close();

相关文章:

  • 2021-07-16
  • 2021-11-07
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2022-02-01
  • 2022-12-23
相关资源
相似解决方案