Estimados de que manera puedo realizar este programacion en .vbs y llevarla a c# nose si tiene la misma logica o es distinto.
' Open notepad
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "telnet 192.168.1.1", 9
' Give Notepad time to load
WScript.Sleep 500
'type in Hello World
WshShell.SendKeys "1234"
WshShell.SendKeys "{ENTER}"
WshShell.SendKeys "1234"
WshShell.SendKeys "{ENTER}"
WScript.Sleep 500
WshShell.SendKeys "reboot"
WshShell.SendKeys "{ENTER}"