> Has anyone here ever attempted to send/read data to/from a
> serial port? If so, what objects from the FCL have you used?
> A short code sample would be much appreciated.
The .NET 2.0 code is pretty straightforward. The write case will be
something like this:
private SerialPort thisPort;
thisPort = new SerialPort(COMPort);
thisPort.Open();
thisPort.Write(BytesToWrite, 0, BytesToWrite.Length);
thisPort.Close();
thisPort.Dispose();
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com