Im trying to write a program that will AutoConnect to the internet(like Internet Explore for example).
But more important is for the program to AutoDisconnect from the internet as it's closed(under the assumption that no othere program is currently using the internet connection) for example - IE disconnects at closing.
How could this be done