Get modem information in .Net Compact Framework

I am using .Net Compact Framework on Windows Mobile 6 and I need to get a list of modems and the serial port they are bound to. In the full version of the .Net Framework, this can be easily done using the System.Management.ManagementObject class; but unfortunately this is not available in the .NET Compact Framework and I haven't found any other way to do this. Does anyone have any ideas?

+1


a source to share


1 answer


Typically, this information can be found in the registry. I'm not sure which keys will contain the required information exactly, but a quick look showed me that \ HKEY_LOCAL_MACHINE \ ExtModems lists some modems on my WM6 device and each one has a port value.



+1


a source







All Articles