[Xbox] [Windows11] Unable to detect connection type on Xbox with Windows 11

Shikhar Jain 1 Reputation point
2021-09-20T10:20:55.92+00:00

Hello,

We have a Windows library which detects the connection type for its usage.
But we have noticed on Windows 11 (10.0.22000.1759) on Xbox devices (Xbox One S and Xbox Series S), we are unable to detect the WiFi connection. Code being used to detect WiFi connection is present below:

ConnectionProfile^ internetConnectionProfile = NetworkInformation::GetInternetConnectionProfile();
if (connectionProfile->IsWlanConnectionProfile) {
WlanConnectionProfileDetails^ wlanConnectionProfileDetails = connectionProfile->WlanConnectionProfileDetails;
if (wlanConnectionProfileDetails != nullptr) {
//Connection type is WiFi
}}

Please note, we are able to detect the WiFi connection on below configurations:

  1. Desktop with Windows 10
  2. Desktop with Windows 11
  3. Xbox with Windows 10

Can someone please provide details why we are unable to detect WiFi connection on Xbox's with Windows 11 OS?

Best Regards,
Shikhar

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,933 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,301 Reputation points
    2021-09-20T14:38:00.01+00:00

    Hello

    Thank you for reaching out.

    I would suggest you to please verify if your device builds as per below numbers which is supported for NetworkInformation.GetInternetConnectionProfile Method

    Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000 (Preview)

    https://learn.microsoft.com/en-us/uwp/api/windows.networking.connectivity.networkinformation.getinternetconnectionprofile?view=winrt-20348

    Hope this helps,


  2. Reza-Ameri 16,776 Reputation points
    2021-09-20T16:44:06.433+00:00

    Since it has been working in Windows 10, then it might be an issue with the Windows 11.
    I advise you to update Windows and install all updates and if problem persist, report it using the Feedback Hub app.
    Note that Windows 11 is still under testing and development.