This project is read-only.


Network Availability

description explains it. I need to detect either a WiFi or Data connection and only connect if present. There's some integration in the Homebrew stuff already for getting IP addresses etc
Closed Apr 1, 2011 at 5:23 PM by w0rddriven
This is primarily complete via checkin code. It currently only disconnects when it detects a connection drop. I'll refactor eventually to propagate this back to the UI. "Please connect to a valid internet connection". Fleshing this out should be a separate issue anyway.


w0rddriven wrote Mar 16, 2011 at 2:32 AM

No need to use that blog post actually. WP7 Contrib uses a Rx-based NetworkMonitor class that I am assuming does the whole "I'll only alert you when there's an issue, not call the blocking call constantly"

w0rddriven wrote Mar 16, 2011 at 2:38 AM

I think the underlying phone API just mimics what should be available in .NET but I could be wrong. If so the ideal solution would be to eventually graft it into the normal .NET projects and keep WP7Contrib in the WP7.Network project only. If I have to I could hard code it to detect ethernet only on the normal .NET side but I'm anal enough to prefer 1:1

w0rddriven wrote Mar 28, 2011 at 3:06 AM explains it. It's also a good primer on Rx. I really need to look into Rx because a lot of this could be push based, i.e. refresh.