问题
I am working on TCP IP client code which is sending commands to the server for some task to execute.This is for the first time working on So many commands.I know to writing commands to next line we used to write /r/n
like this..
byte[] port2 = Encoding.ASCII.GetBytes("port2\r\n");
stream.Write(port2, 0, port2.Length);
Now i have got a command which i need to embed using "{TAB}"
button.Actually before to this i was using telnet in c# which is executing this command like this..
System.Windows.Forms.SendKeys.SendWait(acode + "{TAB}");
So my question is how to convert TAB in Command to send the server.
Please help me.
来源:https://stackoverflow.com/questions/22789412/what-is-the-keypress-code-for-tab-button-press