[Mono-list] RE: Mono-list digest, Vol 1 #751 - 9 msgs

Dennis Hayes DENNISH@Raytek.com
Fri, 31 Jan 2003 11:04:05 -0800

Someone from Microsoft published a serial port class in C# in I think MSDN
It is on the MS we site and the license is quite friendly.
JH.CommBase is the class, that might make it easier to find. JH is the
arthors initals.
It inclues stream and line orientated IO.
All of the WINAPI can be accessed from safe(i think) C# code, anyone
neededing an API converted to C# syntax, can let me know, I have done
enought so that it is easy now.
I origanly write my own serial port class, but have replaced it with the JH
Of course the JH class uses the WIN32 API.
In windows, com ports are created by the openfile command, IO can done by C#
stream IO, setup  (baudrate) is done by calls to the API.
Using WINE, it is the same ( I am told).
How is this done in Linux?


Message: 7
From: Gustavo - over <gustavo@overstep.com.br>
To: mono-list@lists.ximian.com
Date: 31 Jan 2003 14:02:05 -0200
Subject: [Mono-list] serial port

please, how to access a serial port (ttyS0) on mono?

where can I find documentation on integrating C++ and Mono, in the case
of no comunication class to serial port?