12-12-2012 05:43 AM
I would like to know whether there's an API that allows developers to enable/disable WiFi programmatically.
Thank you very much
Solved! Go to Solution.
12-12-2012 07:20 AM
Not sure, but you certainly won't be able to override user settings. If the user has set WiFi to off, then its off [otherwise there would be a security hole]. You are also unlikely to be able to turn it off as you could interfere with other apps [again a security hole].
In terms of what you can do, look at the QNetworkConfigurationManager class.