C# – Reading from and Sending data to Serial port

cserial-port

I'm trying to do a serial port communication to send and receive data. Here is the scenerio:

I connect to a serial port and start my device. When it's counting down to do something, I should pause it and send it some command to work. It does all work and then again the starting continues.

Now i searched through the internet and c# fits me. Can you suggest anything to me while doing this? How can i start and which methods do i need to use ? Thank you.

Best Answer

The .NET framework even has a proper SerialPort class, which will be just fine for your application.

Related Topic