<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Network Link Detection in C#</title>
	<atom:link href="http://blog.lowesoftware.com/code/network-link-detection-in-c-2/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.lowesoftware.com/code/network-link-detection-in-c-2</link>
	<description>Alex Lowe on software, technology, and startups.</description>
	<lastBuildDate>Sun, 27 Jun 2010 06:56:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=8740</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alex Lowe</title>
		<link>http://blog.lowesoftware.com/code/network-link-detection-in-c-2/comment-page-1#comment-7196</link>
		<dc:creator>Alex Lowe</dc:creator>
		<pubDate>Fri, 11 Jun 2010 04:46:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lowesoftware.com/code/network-link-detection-in-c-2#comment-7196</guid>
		<description>Thanks for the snippet!</description>
		<content:encoded><![CDATA[<p>Thanks for the snippet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Inn</title>
		<link>http://blog.lowesoftware.com/code/network-link-detection-in-c-2/comment-page-1#comment-7125</link>
		<dc:creator>Glenn Inn</dc:creator>
		<pubDate>Fri, 02 Apr 2010 07:45:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lowesoftware.com/code/network-link-detection-in-c-2#comment-7125</guid>
		<description>Alex,
  I like your method; there were some improvements that can be done by leveraging the &quot;SQL-like&quot; WMI syntax.

Here&#039;s the meat of your routine:
            ManagementObjectSearcher searcher=
                          new ManagementObjectSearcher(
                          &quot;SELECT * FROM Win32_NetworkAdapter where NetConnectionStatus=2&quot;);

            foreach( ManagementObject networkAdapter in searcher.Get())
            {
		connected = true;
            }
            searcher.Dispose();</description>
		<content:encoded><![CDATA[<p>Alex,<br />
  I like your method; there were some improvements that can be done by leveraging the &#8220;SQL-like&#8221; WMI syntax.</p>
<p>Here&#8217;s the meat of your routine:<br />
            ManagementObjectSearcher searcher=<br />
                          new ManagementObjectSearcher(<br />
                          &#8220;SELECT * FROM Win32_NetworkAdapter where NetConnectionStatus=2&#8243;);</p>
<p>            foreach( ManagementObject networkAdapter in searcher.Get())<br />
            {<br />
		connected = true;<br />
            }<br />
            searcher.Dispose();</p>
]]></content:encoded>
	</item>
</channel>
</rss>

