NetworkInformation NetworkStatusChanged event fired twice
问题 I am listening for a network change in my WinRT application using what I believe is the recommended approach. I subscribe to the event using this code. (I have tried in a number of places but currently I have it in the page OnNavigatedTo method). NetworkInformation.NetworkStatusChanged += NetworkInformation_NetworkStatusChanged; Then in the OnNvaigatedFrom method I remove it: NetworkInformation.NetworkStatusChanged -= NetworkInformation_NetworkStatusChanged; When I remove the network cable