The serial port can be used for simple text receiving with just a few lines of code. This example shows how to implement a simple GPS data receiver.
2. Receiving Text with a Delegate
The serial port has some special requirements in .Net. This snippet shows how to implement a serial input text receiving routine using a delegate to enable updating of GUI objects.
3. Binary Data
Receiving binary data at the serial port is slightly different than receving text, because you must treat it as an array of bytes. This example shows how to do that, together with a simple way to display the data without a cross-thread call.