Skip to main content.
May 10th, 2009

Enumerate All COM Ports and Find Their Name and Description in C#

I needed to enumerate all COM ports in C# and get their name (e.g. COM1, COM2, …) and their description shown in the Windows Device Manager (e.g. “Communications Port”, “RT USB MRTD Reader”). You could find lots of unmanaged code for doing this but I think this C# code could be helpful to people who perform communication through the serial interface in .NET:

Posted by nakov in .net

This entry was posted on Sunday, May 10th, 2009 at 6:17 pm and is filed under .net. You can follow any responses to this entry through the comments RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.