Serial port communication in .NET
问题 I am using C# to receive data from a serial port but there are some problems. I'm new to this so I need some help. First off all I want to know which functions are event driven: ReadExisting() Read() Readbyte() Readchar() ReadLine() Readto() How can I take the required data form input stream of this port? I have static sized protocols. Can I use a special char to specify limits of a protocol data, and which will be a suitable char for this? How do I handle this exception: C# SerialPort System