c# - Programmatically Listing and Connecting to WIFI networks on Windows IoT Core -
is there api lists , allows connect specific wifi network providing passcode via c# on windows iot core?
i see possible when running os on pi other windows iot here via command line.
another question asked on creating app run on winrt here, listing connected wifi networks possible. not sure if windows iot has more functionality exposed?
update #1:
i found managed wifi api allows control wifi (802.11) network adapters installed in windows machine programmatically.
another possible solution simplewifi
i give try see if can same on raspberry pi 2 b, update question. however, if can suggest better methods please do.
update #2:
i recieving following error when try install nuget package simplewifi on visual c# universal windows app:
simplewifi 1.0.0.0 not compatible uap,version=v10.0 (win10-arm)
i recieve similar error when installing nuget package managedwifi:
some packages not compatible uap,version=v10.0 (win10-x64-aot).
when windows iot boots, start default iot app (if have not modified startup applications) iotcoredefaultapp. default application allows view , connect wifi. microsoft has provided source code default app. specific wifi related code, found in file: iotcoredefaultapp \ iotcoredefaultapp \ views \ oobenetwork.xaml.cs
download: windows iot samples
.
update: february 7, 2016
microsoft has provided tutorial on how list wifi network , how can connect one. "windows.devices.wifi.wifiadapter" provide members manipulate wifi in uwp programmatically. refer wifi connect sample.

Comments
Post a Comment