title: Get incoming ComPort of a specific bluetooth device after manual Pairing
body: <p>I have a problem in order to detect the actual ComPort of a bluetooth device after a manual pairing.
  First of all I have to mention that in dev envinroment I use Windows 8.1.
  I searched on the internet solutions for this problem and I found a C# code that is related to this command in PowerShell :</p>
  
  <pre><code> Get-WmiObject -query "select DeviceID,PNPDeviceID from Win32_SerialPort"
  </code></pre>
  
  <p>but, I have 3 connections on my PC as you can see in the picture below :
  <a href="https://i.stack.imgur.com/hMvah.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hMvah.png" alt="enter image description here"></a></p>
  
  <p>and when I run the command, there are just two of them, and my device "MiCon_*" is not available :</p>
  
  <p><a href="https://i.stack.imgur.com/6dmBF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6dmBF.png" alt="enter image description here"></a></p>
  
  <p>Its a Windows 8 problem ? Or I am doing something wrong ? </p>
  
  <p>If I check the PnP_Entity, it gives me only the name like "Bluetooth Serial Port (Com4)" :</p>
  
  <p><a href="https://i.stack.imgur.com/y6HEP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y6HEP.png" alt="enter image description here"></a></p>
  
  <p>How can I detect COMPort using friendly name ?</p>