Reputation: 2803
I want a customised Windows app to automatically detect and connect to nearby Wi-Fi networks. I know that Wifi-Sense provides such options. Wifi Direct is yet to get released for Windows phones.[1]
Is Wifi Sense API available publicly?
Or, is there a way using c#?
Or, is there a workaround such as .mobileconfig in iOs?
Reference: http://www.windowsphone.com/en-us/how-to/wp8/connectivity/use-wi-fi-sense-to-get-connected
Upvotes: 0
Views: 287
Reputation: 4745
Wi-Fi Sense already provides the functionality you envision for your app.
Upvotes: 1
Reputation: 2070
No such thing exists. You can navigate to WiFi settings though, with the Launcher class and it's LaunchUriAsync
method, providing the ms-settings-wifi:
uri scheme.
Launcher.LaunchUriAsync(new Uri("ms-settings-wifi:"));
Note that this call will navigate away from you app, so you will need to save the transient state of your page and restore it, when coming back.
Upvotes: 0