How to find out if NetworkInterface is a Wi-Fi or Lan card in C #? And is there a safe way to determine this?
You can use the NetworkInterfaceType NetworkInterface property .
It will be equal NetworkInterfaceType.Wireless80211if the interface is a WiFi adapter.
NetworkInterfaceType.Wireless80211