Seems that SENS (System Event Notification Service) is capable of providing
such notifications. See the SENS topics in the "Synchronization Manager"
chapter of the Platform SDK.
It uses COM Event System so it should be relatively easy to subscribe to
these events from a .NET app.
--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx
"Edh" <no****@ee.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...
Is there a system event or notification that I can catch in my application
to know when any network connection has become active (WiFi, Dial Up, LAN
etc...)?
Example: I have a service that sits idle until it gets a "Network Active
Event". This service runs on a laptop that may roam in and out of wifi
coverage. When the user walks into a hotspot area, I want my application
to realize this, and now check for new files.
Thanks,
-Ed