List COM ports

  • Thread starter Thread starter Guest
  • Start date Start date
..NET 2.0: SerialPort.GetPortNames();
..NET 1.1.: WMI with "Select * from Win32_POTSModem"

Joachim said:
How can I find out what COM ports that exists on my computer?

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
WMI: Win32_SerialPort
Win32_POTSModem is for a modem device.

Note also that this only returns the standard BIOS Serial ports as per
PC98/99 standards.

Willy.

message | .NET 2.0: SerialPort.GetPortNames();
| .NET 1.1.: WMI with "Select * from Win32_POTSModem"
|
| "Joachim" wrote:
|
| > How can I find out what COM ports that exists on my computer?
|
| --
| WBR,
| Michael Nemtsev :: blog: http://spaces.msn.com/laflour
|
| "At times one remains faithful to a cause only because its opponents do
not
| cease to be insipid." (c) Friedrich Nietzsche
|
 
miss a bit

Willy Denoyette said:
WMI: Win32_SerialPort
Win32_POTSModem is for a modem device.

Note also that this only returns the standard BIOS Serial ports as per
PC98/99 standards.

Willy.

message | .NET 2.0: SerialPort.GetPortNames();
| .NET 1.1.: WMI with "Select * from Win32_POTSModem"
|
| "Joachim" wrote:
|
| > How can I find out what COM ports that exists on my computer?
|
| --
| WBR,
| Michael Nemtsev :: blog: http://spaces.msn.com/laflour
|
| "At times one remains faithful to a cause only because its opponents do
not
| cease to be insipid." (c) Friedrich Nietzsche

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top