PC Review Forums Newsgroups Windows XP Windows XP WMI WMI Network Adapter enable/disable event notification

Reply

WMI Network Adapter enable/disable event notification

 
Thread Tools Rating: Thread Rating: 1 votes, 4.00 average.
Old 13-08-2004, 02:26 PM   #1
Andreas F. Wehowsky
Guest
 
Posts: n/a
Default WMI Network Adapter enable/disable event notification


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


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off