Terminate Data read from Serial Port if data not in Right Format
I am using C# to read data from a Serial Port, and was wondering if there was a way to abort reading data from a serial port if it is not in the exact format for example !COM data in
is the right format and not #POM data in
.