Is there an API that lists and allows us to connect to a specific Wi-Fi network by providing an access code via C # in Windows IoT Core?
I see that this can be done when you start the OS on a non-Windows IoT PI here through the command line.
Another question was asked about creating an application to run on WinRT here , but it was only possible to list the connected WIFI networks. I'm not sure Windows IoT has more functionality?
UPDATE # 1:
I found the Managed Wifi API , which allows you to programmatically manage the Wi-Fi (802.11) network adapters installed on your Windows machine.
Another possible solution is SimpleWifi
I will give this an attempt to see if I can do the same on the raspberry Pi 2 B, and then update my question. However, if someone can suggest better methods, please do.
UPDATE # 2:
Now I get the following error when I try to install the NuGet SimpleWifi package in a Visual C # Universal Windows application:
SimpleWifi 1.0.0.0 is not compatible with UAP, Version = v10.0 (win10-arm)
I also get a similar error when installing the NuGet package for ManagedWifi :
Some packages are not compatible with UAP, Version = v10.0 (win10-x64-aot).
source
share