Description of XNetDetect :
XNetDetect is a non-visual Delphi component being able to keep your application informed about any change of the Internet connectivity status. If you want to handle the event when your PC connects/disconnects to/from the Internet, XNetDetect has exposed
"OnStatusConnectionChanged" event that helps you.