locked
NetworkStatusChangedEventHandler several times

    Question

  • Hi,

    I'm reviewing the Network Information Sample App (http://code.msdn.microsoft.com/windowsapps/Network-Information-Sample-63aaa201).  I tried implementing the functionality to register for the change notifications in my application. Everything is successful, works. But when network status changed to connection off, event was trigger only one time. When connection on, event was trigger two or three times.

    I do not understand, why event was trigger several times? Could you please help me?

    Friday, April 25, 2014 8:50 AM

All replies

  • Was it triggered for the exact same condition in every case?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, April 25, 2014 12:51 PM
    Moderator