COM port number from Windows.Devices.Enumeration.DeviceInformation
<p>Is there a way to get the COM port number for a device through <code>DeviceInformation</code>? I can see COM port numbers when I look at them through Device Manager.</p>

<p>I just ran into a couple of devices that don't list the COM port number as part of the <code>Name</code> property. I plugged two of them in and there's no way to distinguish them from each other. Ideally, I'd like to see a COM port. Is there a different way to get that information?</p>

<pre><code>string _serialSelector = SerialDevice.GetDeviceSelector();
DeviceInformationCollection tempInfo = await DeviceInformation.FindAllAsync(_serialSelector);
    if (tempInfo.Count &gt; 0)
    {
        foreach (var efefe in tempInfo)
        {
            if (efefe.Kind.Equals(DeviceInformationKind.DeviceInterface))
            {
                //efefe.Name                     
            }
        }
    }
</code></pre>