Question : Find Modem port

Hi experts,

I need to detect what port nr my modem is using. (img02)

I'm using "System.Management" to detect my modem name but i can't get port nr,

I can enumerate ports in my system but modem won't show there. (img01)

Regards,

Answer : Find Modem port

Modems are enumerated with Win32_POTSModem, and the port is found with Win32_POTSModemToSerialPort.

Win32_POTSModemToSerialPort Class
http://msdn2.microsoft.com/en-us/library/aa394361(VS.85).aspx
Random Solutions  
 
programming4us programming4us