WMI Network Adapter enable/disable event notification

  • Thread starter Andreas F. Wehowsky
  • Start date
A

Andreas F. Wehowsky

In .NET I use WMI to get notified when a network adapter is enabled or
disabled.

The event query MSNdis_NotifyAdapterArrival works fine when an adapter is
enabled, but how do I get notified when adapters are *disabled* ?
(There is no such thing as NotifyAdapterDeparture...)

PS. I also used MSNdis_StatusMediaConnect, which also only notifies adapter
enable events.

Thank you!
Andreas Wehowsky
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top