How to find available COM ports in my PC? I am using framework v1.1. Is it possible to find all COM ports? If possible, help me solve the problem.
C# – How to find available COM ports
cserial-port
Related Topic
- C# – How to handle multiple submit buttons in ASP.NET MVC Framework
- C# – LINQ’s Distinct() on a particular property
- C# – How to get the application’s path in a .NET console application
- C# – Difference Between Select and SelectMany
- C# – JavaScriptSerializer – JSON serialization of enum as string
- C# – How to scan for COM ports in C#
- C# – reason for C#’s reuse of the variable in a foreach
Best Answer
Framework v1.1 AFAIK doesn't allow you to do this.
In 2.0 there is a static function
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.getportnames.aspx