Demonstrates 3 ways to Detect Whether Internet Connection is Active

Category:
Network/Internet
Type:
Applications
Difficulty:
Advanced
Author:
Arkadiy Olovyannikov

Version Compatibility:

More information:
This nice demo application demonstrates 3 ways to detect whether or not a current Internet connection is active -- by checking the registry, by using functions within the wininet.dll, and by pinging yahoo.com. Remarks explaning the advantages and disadvantages of each method are included within the application.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download isconnect3.zip