I am developing an application for Windows Phone 8 with C #, and my application should automatically be implemented when the network changes.
So, when Windows Phone suddenly connects to the Internet, I need to take some action, but I really don't know how to check it. I do not want to set a timer, constantly working in the thread, to check this every couple of seconds.
Is there any method (similar to the OnNavigatedTo method) that starts automatically when the phone connects to the Internet?
If so, what is the best and most effective way to implement this?
Thank you for all the advice and your help in advance!
source share