Windows automate telnet

前端 未结 3 581
半阙折子戏
半阙折子戏 2021-02-07 05:33

I would like to run a set of commands that would typically be run in telnet(from c#).

For example I would like to run the following

using System;
using          


        
3条回答
  •  眼角桃花
    2021-02-07 06:16

    Coding this may be hard. However, there are free tools out there for Telnet scripting, see Expect for one. If you have an C# application then perhaps your code could generate the Expect script and then run Expect?

提交回复
热议问题