Framework v1.1 AFAIK doesn’t allow you to do this.
In 2.0 there is a static function
SerialPort.GetPortNames()
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.getportnames.aspx
More Related Contents:
- extract number out strings c# [closed]
- SerialPort not receiving any data
- How to Read and Write from the Serial Port
- Releasing a unplugged virtual Serial Port
- Getting Serial Port Information
- What is the correct way to read a serial port using .NET framework?
- “The semaphore timeout period has expired” error for USB connection
- C# GUI refresh and async serial port communication
- How to open a serial port by friendly name?
- Wait for response from the Serial Port and then send next data
- Serial Port Polling and Data handling
- Serial to USB cable from a scale to PC ,some values are just question marks
- How do I use dataReceived event of the SerialPort Port Object in C#?
- I/O exception error when using serialport.open()
- Finding information about all serial devices connected through USB in C#
- C# Async Serial Port Read
- Implementing a timeout on a function returning a value
- C# read only Serial port when data comes
- In C#, what is the difference between public, private, protected, and having no access modifier?
- How can I String.Format a TimeSpan object with a custom format in .NET?
- Entering keys manually with Entity Framework
- Dynamically Created Controls losing data after postback
- Getting the folder name from a full filename path
- How do I determine the standard deviation (stddev) of a set of values?
- Entity Framework. Delete all rows in table
- Where are the ControllerContext and ViewEngines properties in MVC 6 Controller?
- Split String into smaller Strings by length variable
- WriteLine with a class
- Memorystream.Read() always returns 0 bytesRead with empty byte[]
- Is it possible to get successful results from a Task.WhenAll when one of the tasks fails? [duplicate]