Serial communications in .NET???

  • Thread starter Thread starter Jim H
  • Start date Start date
J

Jim H

I need to communicate using a serial port. Are there any classes or
libraries for this in .NET? If not are there any open source libraries for
this out there?

jim
 
Hi Jim

Thank you for posting in the community!

Based on my understanding, you want to communicate with serial port in
.Net.
=======================================

Just as community member suggested, you may get this done through P/invoke
win32 API with this article:
http://msdn.microsoft.com/msdnmag/issues/02/10/netserialcomm/

You can find more information about how to use serial port in .Net from:
http://www.gotdotnet.com/community/messageboard/Thread.aspx?id=72182

The more I want to point out is that, if you want to specify Serial Ports
larger than COM9, you need different syntax, please refer to:
http://support.microsoft.com/default.aspx?scid=kb;[LN];115831

=======================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Have a nice day!!

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
There is another option if you do want to do anything to complicated:

The Visual Basic Resource Kit contains the "Sax.net Communications Community
Edition". This is a very easy to use class for using the Serial Port and can
be used from C#.

Regards

Mark
 
Thanks to everyone that responded. The information you guys pointed to was
a big help.

jim
 
Hi Jim,

Thanks for your feedback.

If you have any further concern, please feel free to post, we will help
you. :-)

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi everyone,
Can anyone help me to understand the serial port program? I don't know
how is work, send out data, but how to receive it?

welcome to add me: (e-mail address removed)

thanks

pei
 
Back
Top