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:
- Desktop with Windows 10
- Desktop with Windows 11
- 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