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 [quoted text, click to view] "Edh" <nospam@ee.com> wrote in message
news:OU6XTnAWEHA.2340@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
>
>
The ISensNetwork::ConnectionMade method should be of particular interest to
you.
--
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 [quoted text, click to view] "Edh" <nospam@ee.com> wrote in message
news:OU6XTnAWEHA.2340@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
>
>
Don't see what you're looking for? Try a search.