Hi!
One small question...
How to get the moment when computer try to connect to Internet?
And after it get the options of connection?
I mean user name, phone number...
If the ship don't know where to go - it has no fair wind...
I usually do this with a timer, that frequently calls the "InternetGetConnectedState" function, though it lacks performance.
Maybe theres a way to install a system wide hook for notification, but as I said, I never tried it...