How to get notified when netowrk connection up or down?
-
Hi all, I need to get notification when the network link up or down. is there any way to do it? did any one know how the windows system know this and display a message at the coner of the screen when link up or down? Thanks a lot.
May be that's a dumb answer from me, but you can show a blinking systray icon for the network link just by checking a box in the Network settings.
MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site. Support for development will ship at the same time as the Windows XP Service Pack 1 (SP1) release.
-
Hi all, I need to get notification when the network link up or down. is there any way to do it? did any one know how the windows system know this and display a message at the coner of the screen when link up or down? Thanks a lot.
-
Hi ano, take a look at the System Event Notification Service (SENS), and especially the ISensNetwork interface. I believe there is an article about this in a recent Dr. Dobbs, or search the Microsoft site. Bye, Alwin
-
Hi Alwin, I've read the SENS article. it works fine with dialup line. but augly with LAN. it seems the desktop network connection link up/down message is not from SENS Did you know other info? Thanks.
Hi, It turned out that I did not read the article in Dr. Dobbs but in MSDN, which is available electronically here. The article indicates that SENS does not work well for what you want to do but describes an alternative using WMI (Windows Management Instrumentation) that might help you. Regards, Alwin