How do i find out if a NetworkInterface is a Wifi or Lan Card in C#? And is there a safe way of determining this?
You can use the NetworkInterfaceType property of the NetworkInterface class.
It will be equal to NetworkInterfaceType.Wireless80211 if the interface represents a WiFi adapter.
NetworkInterfaceType.Wireless80211