Click here to Skip to main content
13,255,685 members (56,633 online)
Rate this:
Please Sign up or sign in to vote.
See more: (untagged)

As the subject line says it all.

I want a notification to be generated , when lan cable is unplugged, or wifi signal is disabled.

I am able to enumerate all lan adapters and wifi adapters. But i don't want to keep my thread running continuously.

So i need a network notification which can signal my win32 service to do further processing.

Any anybody help me out.

With Rgds
Posted 28-Nov-12 4:34am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

See this article:

Network Awareness in Windows Vista and Windows 7[^]

It tells you how to register for network events.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171114.1 | Last Updated 28 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100