title: How to check network interface type is Ethernet or Wireless on Windows using Qt?
body: <p>I need to find out the network interface type is Wired or Wireless on PC. </p>
  
  <p>I have tried using <code>QNetworkInterface</code> class which provides <code>Adapter Name</code>. But adapter name can be changed by user on Windows. On Mac, I can check for interface type as <code>eth0</code> or <code>eth1</code> since it is same for all users.</p>
  
  <p>I also tried <code>QNetworkConfiguration::bearerType</code>, But I am getting configuration as Ethernet i.e. BearerEthernet for both wired and wireless configuration. </p>
  
  <p>Is there any other way to find out network interface type in Qt or using Windows platform specific APIs?</p>