locked
NetworkConnections not detected RRS feed

  • Question

  • Hi Team,

    I was trying to use a network change detction and was using NetworkAvailabilityChanged and NetworkAddressChanged Events in System.Net.NetworkInformation.NetworkChange class. It looks like the NetworkAvailabilityChanged event does not fire at all when multiple NIC's are enabled in a machine and NetworkAddressChanged  Eventis firing multiple times, but i want to perform the operation only once... Looking into the event args and sender object they both are empty and null... 

    Has anyone have a workaround to fire it only once or handle it once. 

    Kindly let me if there is any alternate solution how to handle the NetworkChange events using c# when Multiple NIC's are enabled in a machine.

    Thanks,

    Ram


    ram

    Thursday, July 25, 2013 9:58 AM