We are trying to develop a c# code through which to detect if any Windows mobile device is connected to a desktop and to which port it is connected. Currently we have a c# code that detects other devices but not Windows Mobile devices and we assume that this is because Windows is masking this process of detection for Windows Mobiles and every time we connect the device and run the existing c# code it always shows all the COM ports are closed and nothing is in use. Request help regarding this urgently. Any quick help is appreciated.