Search code examples
c#-4.0c#-3.0c#-2.0icsharpcode

How to send command to the hyperterminal(TCP/IP Communication) from c#.


In our .net application i want to send some commands to the barcode scanner using TCP/IP connection.If i send command from hyperterminal to the scanner, the scanner is responding and giving result. In c# code i am using TcpClient class to communicate with the scanner. If i send any command to the scanner from my code its not responding. So i want to send command to the hyperterminal from c#.


Solution

  • You can use Com Port control in your C# project and set the baud rate and party checking and then you can send/receive over the COM interface.

    I am not sure this is what you are looking for because you did not give me more details