C# - NetworkChangeEventHandler
Posted
by Andy
on Stack Overflow
See other posts from Stack Overflow
or by Andy
Published on 2010-04-18T07:24:44Z
Indexed on
2010/04/18
7:33 UTC
Read the original article
Hit count: 325
I have small application which catches Network Availability change and its working very fine in client Desktop m/c (which is having XP) But when I tested the same in Vista by disabling the network and enabling it again..the event is not getting triggered.
NetworkChange.NetworkAvailabilityChanged += new NetworkAvailabilityChangedEventHandler(NetworkChange_NetworkAvailabilityChanged);
private void NetworkChange_NetworkAvailabilityChanged(object sender, NetworkAvailabilityEventArgs e)
{.....}
Does .Net framework 3.5 got any new solution introduced ...
© Stack Overflow or respective owner