NetworkChange does not work

  • Thread starter Thread starter Steve, Putman
  • Start date Start date
I want to fire the event everytime network connection goes off or on.
I am following the example but it never goes to those eventswhen I remove my
network connection.

Are you using windows application.

Thanks, Steve
 
Yes, my app is win form app. I have an icon on the status bar to show
network availability. It works well: I plug and unplug the cable to my
computer, the icon changes accordingly. The code is nearly identical to the
sample code in that article.
 
Thanks Yuan,
Can you please send me your code. Because it does not work for me. I want to
see what I have missed.

Thanks again, Steve
 
Now it works for me.

Thanks Yuan,
Steve

Steve said:
Thanks Yuan,
Can you please send me your code. Because it does not work for me. I want
to see what I have missed.

Thanks again, Steve
 
Back
Top