Hi,

I am porting an application from python to c#.
Is there a possibility to make a telnet connection via using native mono functions...?
Here is what I do in python:


telnet = telnetlib.Telnet()
telnet.open(zyxel_internal_ip)
telnet.read_until("Password:")
telnet.write(zyxel_pw + "NetMan\r\n")
telnet.read_until(">", 10)
telnet.write("ip ifconfig wanif0\r\n")
ipdata = telnet.read_until("netmask", 10)
telnet.write("exit\r\n")


How could I translate that to c#?

regards,
Yves
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to