question

ShikharJain-5106 avatar image
0 Votes"
ShikharJain-5106 asked Reza-Ameri commented

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

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered ShikharJain-5106 commented

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://docs.microsoft.com/en-us/uwp/api/windows.networking.connectivity.networkinformation.getinternetconnectionprofile?view=winrt-20348


Hope this helps,

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

Build is targeting Build 19041 and running on Windows11 (Build 22000 (Preview)). So, API is supported on the platform.

0 Votes 0 ·
Reza-Ameri avatar image
0 Votes"
Reza-Ameri answered Reza-Ameri commented

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.

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello Reza,
Thanks for the response, the OS is updated on the Xbox device, also API works fine on Windows 11 desktop and the issue is only observed on Xbox device.

0 Votes 0 ·
Reza-Ameri avatar image Reza-Ameri ShikharJain-5106 ·

I believe this is an bug and make sure file a bug report so the Windows team would be able to investigate it.

0 Votes 0 ·

I have filed the issue on Feedback Hub app, is there any other way to file the bug on Windows team?
Thanks for your support.

0 Votes 0 ·
Show more comments