WMI Network Adapter enable/disable event notification

  • Thread starter Thread starter Andreas F. Wehowsky
  • Start date 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
 
Back
Top