Detect an internet connection activation with Delphi
问题 I\'ve been using a 3G wireless card for a while and every time I connect, my anti-virus fires up the updates. I\'m wondering what is the Win32 API set of functions that I can use to, either, get notified or query about the event of an Internet Connection coming up? And is there already a set of ported headers for Delphi? 回答1: I worked on a project to run a user's logon script whenever they connected our network over VPN. To do this, I wrote a helper unit that retrieves adapter info and stores