Is there a way to register a background task that would run each time there is a change in connectivity? By "change in connectivity" I mean:
1) local IP address is added, removed or changed
2) Windows detects internet connectivity state has changed
Perhaps NetworkStateChanged trigger is what you are looking for?
http://msdn.microsoft.com/en-us/library/windows/apps/Hh771189.aspx
Jeff Sanders (MSFT)