Listing and WiFi connection using WinRt

In my office, I have 10 WiFi routers. I want to list all those (similar to the network icon in the system tray on windows 8) and connect / disconnect from one of them through Win Rt.

I tried these APIs

 Windows::Networking::Connectivity::NetworkInformation::GetLanIdentifiers();
 Windows::Networking::Connectivity::NetworkInformation::GetConnectionProfiles();
 NetworkInformation::GetInternetConnectionProfile();

but only this list, associated only with Api, does not contain others.

I can achieve this using http://msdn.microsoft.com/en-us/library/windows/desktop/ms706716(v=vs.85).aspx . But I'm not sure that Api will be supported in subway mode in Windows 8.

Does WinRt support Api support for this?

+2
source share
1 answer

/ Windows. . ( Microsoft) , .

Metro. - ( SSID), Windows, . [ [MSFT], ]

Windows.Networking.NetworkOperators, Windows Store .

Microsoft , , API.

+1

Source: https://habr.com/ru/post/1627586/


All Articles