<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://jaysonknight.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Creating Network Aware Applications -- System.Net.NetworkInformation</title><link>http://jaysonknight.com/blog/archive/2007/01/23/creating-network-aware-applications-system-net-networkinformation.aspx</link><description>I was recently in the process of rolling my own library to be able to drop into an application to make it "network aware" i.e. the application can periodically check to make sure it still has a network connection...I've seen plenty of apps in the past</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Debug Build: 40407.4157)</generator><item><title>Creating Network Aware Applications -- System.Net.NetworkInformation</title><link>http://jaysonknight.com/blog/archive/2007/01/23/creating-network-aware-applications-system-net-networkinformation.aspx#55538</link><pubDate>Fri, 26 Jan 2007 00:32:09 GMT</pubDate><guid isPermaLink="false">68946f8a-ff84-48ba-8722-56d2a9e13499:55538</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
&lt;img src="http://jaysonknight.com/aggbug.aspx?PostID=55538" width="1" height="1"&gt;</description></item><item><title>re: Creating Network Aware Applications -- System.Net.NetworkInformation</title><link>http://jaysonknight.com/blog/archive/2007/01/23/creating-network-aware-applications-system-net-networkinformation.aspx#55513</link><pubDate>Thu, 25 Jan 2007 22:36:44 GMT</pubDate><guid isPermaLink="false">68946f8a-ff84-48ba-8722-56d2a9e13499:55513</guid><dc:creator>Jayson Knight</dc:creator><description>&lt;p&gt;Kyle, interesting that you should mention the WebRequest (and related WebResponse) classes as that's how I was checking for connectivity in earlier applications...I would just create a small utility class that would attempt a request to a website, then attempt to read a response. If it failed for any reason, the app would assume there was no network connectivity. While it did indeed work, I always felt it was clunky plus it created unnecessary dependencies.&lt;/p&gt;
&lt;p&gt;Thankfully those days are over, however the NetworkInfo classes aren't w/o they're own quirks as well ;-).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://jaysonknight.com/aggbug.aspx?PostID=55513" width="1" height="1"&gt;</description></item><item><title>re: Creating Network Aware Applications -- System.Net.NetworkInformation</title><link>http://jaysonknight.com/blog/archive/2007/01/23/creating-network-aware-applications-system-net-networkinformation.aspx#55355</link><pubDate>Thu, 25 Jan 2007 15:52:10 GMT</pubDate><guid isPermaLink="false">68946f8a-ff84-48ba-8722-56d2a9e13499:55355</guid><dc:creator>Kyle</dc:creator><description>&lt;p&gt;Great tip Jayson! &amp;nbsp;You inspired me to checkout the methods that are available on the client to provide similar functionality. &amp;nbsp;There is a System.Net.WebRequest object in the ASP.NET AJAX library which, when used creatively, could potentially be used to provide events for client connectivity, etc. &amp;nbsp;Interesting.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://jaysonknight.com/aggbug.aspx?PostID=55355" width="1" height="1"&gt;</description></item></channel></rss>