Reputation: 271
I want to be able to change my network on the press of a button to another favorite network followed by the launch of a LAN based game and closing a set of pre-defined internet applications that will interrupt gameplay with "Lost connection" popups Basically I have two networks, on Internet, one only LAN (Both Wireless) I want to be able to switch networks and launch my game. I know the code for launching my game, but my question is.... How do I switch network connections using my program? Or is it even possible?
Upvotes: 0
Views: 1363
Reputation: 754
Have a look at this article about Native WiFi Functions
Just use the built-in Windows Functions to disconnect / connect
Upvotes: 1