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.
"Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
message news:2F**********************************@microsof t.com...
| .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
|