Examples This example adds a SerialDataReceivedEventHandler to DataReceived to read all the available data received on the COM1 port. Note that to test this code it is necessary to have hardware attached to COM1 that will send data. #using <System.dll> using namespace System; using namespace System::IO::Ports; ref class PortDataReceived { public: static void Main() { SerialPort^ mySerialPort = gcn
