I would like to be notified when the computer’s network connection is established (has a valid IP address) and I would like to do this without polling. Is there a Windows API that can provide these notifications?
I would like to be notified when the computer’s network connection is established (has
Share
I would start with the
System.Net.NetworkInformation.NetworkChange.NetworkAvailabilityChangedevent.Also WMI events might be possible, fired on changes to the set of
Win32_NetworkAdapterorWin32_NetworkConnectioninstances.