I was wondering if it's possible to disconnect my desktop PC from the internet entirely when starting a screensaver? I would also like to reconnect to the previously selected network (I'm using a wi-fi card at the moment) when the screensaver shuts off. Currently I'm running a batch file when the screensaver starts so that I can start backups, and then the batch file starts a screensaver I made, so if I need to I can call another batch file on quit. Another option is using the .NET API to do it, but I've been unable to find any resources on interfacing with Windows functionality with that. I'm running Windows 8 Pro.
Thanks!