Answered by:
Retrieve wifi access point information

Question
-
Hi, I was just going thro the Networking APIs and had a question on how to retrieve the available wifi access point information and their signal strength. I couldn't use the ConnectionProfile class to retrieve all the Wifi access points...Is there a way to do it?? I'm basically looking at something similar to what the "netsh wlan show networks mode=Bssid" would return me. Is it possible at all with the Metro WinRT APIs that are available??
thanks
Easwar
- Moved by Rob Caplan [MSFT]Microsoft employee, Moderator Wednesday, August 8, 2012 8:10 PM (From:Building Metro style apps with C# or VB )
Wednesday, August 8, 2012 10:41 AM
Answers
-
The ProvisioningAgent.provisionFromXml() would allow you to push a set of WLAN profiles to Windows. You cannot access the scan list or issue connect/disconnect requests.
- Marked as answer by Eric Hanson-MSFTModerator Wednesday, August 8, 2012 11:28 PM
Wednesday, August 8, 2012 11:28 PMModerator -
Easwar,
That is not allowed.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Thursday, August 9, 2012 5:47 AM
Thursday, August 9, 2012 5:47 AMModerator
All replies
-
The ProvisioningAgent.provisionFromXml() would allow you to push a set of WLAN profiles to Windows. You cannot access the scan list or issue connect/disconnect requests.
- Marked as answer by Eric Hanson-MSFTModerator Wednesday, August 8, 2012 11:28 PM
Wednesday, August 8, 2012 11:28 PMModerator -
Hi Eric - Thanks for the link. Just a quick question - can we run the above command "netsh wlan show networks mode=Bssid" from a metro app using something like a Process.Start(/*command prompt.exe*/) or a similar one?? Is that allowed from within a Metro app?
thanks
Easwar
Thursday, August 9, 2012 4:59 AM -
Easwar,
That is not allowed.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Thursday, August 9, 2012 5:47 AM
Thursday, August 9, 2012 5:47 AMModerator