Groups | Blog | Home
all groups > dotnet faqs > september 2003 >

dotnet faqs : Serial Communications..


Alan S.
9/3/2003 7:39:59 PM
Hello
How can I acces the serial port via .NET please


Many thanks

Alan

Mike
9/4/2003 9:27:06 AM
Alan,

Check out this user sample for a C# SerialPort class on the GotDotNet Web
site:

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=b06e30f9-1301-4cc6-ac14-dfe325097c69

Read through the user posts as there are some reported bugs. This class is
reportedly going to be similar to what Microsoft will ship with the next
release of the .NET framework.


-Mike


[quoted text, click to view]

Bruce Brown
9/4/2003 9:57:33 AM
Hi,

Try the following link. It is what we use.

http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx

Regards,

- Bruce.


[quoted text, click to view]

Kumar Gaurav Khanna [.NET MVP]
9/4/2003 1:35:48 PM
Hi!

This is one way to go about it:

http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=320

Another is that you write a managed C++ class that internally uses Win32 API
to do the communication, since as of .NET 1.1, there's no native support for
serial port communication.

--

Regards,
Gaurav Khanna
----------------------------------------------------------------------------
----------------
Microsoft MVP - .NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
[quoted text, click to view]

AddThis Social Bookmark Button