The
System.IO.Ports.SerialPort[
^] class provides a
DataReceived
event. It fires when data is received, as the name implies.
Subscribing a method to this event, you can then process the data byte-by-byte.
For an article on using the SerialPort, start
here[
^].