uwpxboxxbox-one

Xbox One Detect network connection type


I am developing a UWP application for XBOX One and for analytics purposed I want to detect if the device is connected through Ethernet or WiFi.

I tried the Windows API for that but I found out it is not yet supported for Xbox One.

Anyone has any workaround for this issue?


Solution

  • Ignore the docs regarding what exactly is supported on uwp for Xbox, many are out of date. Most of the networking classes will work, and you can use IPInformation.NetworkAdapter.IanaInterfaceType to tell WiFi from Ethernet.