I'm writing a small app for an XP notebook. The app needs to connect to the Internet and send and receive a few files VIA FTP. The notebook will not be used for any other Internet activity and the connection process must be as simple and seemless as possible.
What I would like to do is be able to, by default, have the wireless connection disabled so there's no chance of someone harming the notebook while it's roaming around (they will be moving from one place to the other a good bit).
When the user begins the app, it should enable the wireless connection, automatically connect to any unprotected network within range - even if it's not in the network list, send and receive the files, then disable the wireless connection again.
I've tried the "Automatically connect to non-preferred networks" setting in the advanced wireless network connections window, but after a reboot, it still doesn't automatically connect to my local unsecured network. The user would have to go in and manually connect. This is what I'd like to avoid if possible.
I'm sure all this is possible with C++, but I need a little guidance.