<?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: C# Detect Windows OS Version &#8211; Part 1</title>
	<atom:link href="http://andrewensley.com/2009/06/c-detect-windows-os-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/</link>
	<description>My little contribution to the WWW</description>
	<lastBuildDate>Wed, 03 Mar 2010 16:25:51 -0600</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<a href="http://www.medwitness.com/contact.php?pk=518" rel="nofollow" style="display:none;">blog</a>	<item>
		<title>By: Andrew</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-1098</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 03 Mar 2010 16:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-1098</guid>
		<description>Looks like the problem is pretty simple.  Did you copy both sections of code?  The getOSArchitecture() method is defined in the first section.

Also, to make things a little easier, you can go to &lt;a href=&quot;http://andrewensley.com/2009/10/c-detect-windows-os-version-%E2%80%93-part-2-wmi/&quot; rel=&quot;nofollow&quot;&gt;Part 2: Using WMI&lt;/a&gt; and &lt;a href=&quot;http://andrewensley.com/wp-content/uploads/2009/10/getOS.cs&quot; rel=&quot;nofollow&quot;&gt;download the source code&lt;/a&gt; which includes the WMI method, and a fallback to this code in case WMI isn&#039;t available.</description>
		<content:encoded><![CDATA[<p>Looks like the problem is pretty simple.  Did you copy both sections of code?  The getOSArchitecture() method is defined in the first section.</p>
<p>Also, to make things a little easier, you can go to <a href="http://andrewensley.com/2009/10/c-detect-windows-os-version-%E2%80%93-part-2-wmi/" rel="nofollow">Part 2: Using WMI</a> and <a href="http://andrewensley.com/wp-content/uploads/2009/10/getOS.cs" rel="nofollow">download the source code</a> which includes the WMI method, and a fallback to this code in case WMI isn&#8217;t available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MXM</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-1097</link>
		<dc:creator>MXM</dc:creator>
		<pubDate>Wed, 03 Mar 2010 16:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-1097</guid>
		<description>i copied the code exactly like its shown and i get an error on the line    (marked here as #72) 

operatingSystem += &quot; &quot; + getOSArchitecture().ToString() + &quot;-bit&quot;;

i believe im missing something, i managed to adecuate the code in order to work for me (since all i need is differentiate between XP and Vista) but I was wondering what should I add to this code in order to get the value as shown here and sweep the error? 

eror:Error	1	The name &#039;getOSArchitecture&#039; does not exist in the current context	

thanks.

peace.</description>
		<content:encoded><![CDATA[<p>i copied the code exactly like its shown and i get an error on the line    (marked here as #72) </p>
<p>operatingSystem += &#8221; &#8221; + getOSArchitecture().ToString() + &#8220;-bit&#8221;;</p>
<p>i believe im missing something, i managed to adecuate the code in order to work for me (since all i need is differentiate between XP and Vista) but I was wondering what should I add to this code in order to get the value as shown here and sweep the error? </p>
<p>eror:Error	1	The name &#8216;getOSArchitecture&#8217; does not exist in the current context	</p>
<p>thanks.</p>
<p>peace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-279</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 08 Oct 2009 05:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-279</guid>
		<description>My WMI code is up.

&lt;a href=&quot;http://andrewensley.com/2009/10/c-detect-windows-os-version-%E2%80%93-part-2-wmi/&quot; title=&quot;C# Detect Windows OS Version – Part 2 (WMI)&quot; rel=&quot;nofollow&quot;&gt;C# Detect Windows OS Version – Part 2 (WMI)&lt;/a&gt;

Hope this is helpful.  Let me know if you have any questions.</description>
		<content:encoded><![CDATA[<p>My WMI code is up.</p>
<p><a href="http://andrewensley.com/2009/10/c-detect-windows-os-version-%E2%80%93-part-2-wmi/" title="C# Detect Windows OS Version – Part 2 (WMI)" rel="nofollow">C# Detect Windows OS Version – Part 2 (WMI)</a></p>
<p>Hope this is helpful.  Let me know if you have any questions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: C# Detect Windows OS Version – Part 2 (WMI) &#124; AndrewEnsley.com</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-276</link>
		<dc:creator>C# Detect Windows OS Version – Part 2 (WMI) &#124; AndrewEnsley.com</dc:creator>
		<pubDate>Thu, 08 Oct 2009 04:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-276</guid>
		<description>[...] case you missed Part 1, I briefly summarized 4 different strategies for programmatically determining the current Operating [...]</description>
		<content:encoded><![CDATA[<p>[...] case you missed Part 1, I briefly summarized 4 different strategies for programmatically determining the current Operating [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: C# Detect Windows OS Version – Part 2 (WMI) &#124; AndrewEnsley.com</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-277</link>
		<dc:creator>C# Detect Windows OS Version – Part 2 (WMI) &#124; AndrewEnsley.com</dc:creator>
		<pubDate>Thu, 08 Oct 2009 04:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-277</guid>
		<description>[...] case you missed Part 1, I briefly summarized 4 different strategies for programmatically determining the current Operating [...]</description>
		<content:encoded><![CDATA[<p>[...] case you missed Part 1, I briefly summarized 4 different strategies for programmatically determining the current Operating [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-267</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 06 Oct 2009 06:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-267</guid>
		<description>Thanks for the link.  The WMI code I will post soon will give you all of that information without having to decode the &quot;Product Type&quot; numbers.</description>
		<content:encoded><![CDATA[<p>Thanks for the link.  The WMI code I will post soon will give you all of that information without having to decode the &#8220;Product Type&#8221; numbers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-266</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 06 Oct 2009 06:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-266</guid>
		<description>You are correct.  This bit of code does not account for Server OSes or the different editions of 2000, XP, Vista, or 7.  It will only tell you the base OS name.  Part 2 (the WMI code) will give you the level of granularity you&#039;re looking for.  I haven&#039;t had much free time lately, but I really hope to post the WMI code soon.</description>
		<content:encoded><![CDATA[<p>You are correct.  This bit of code does not account for Server OSes or the different editions of 2000, XP, Vista, or 7.  It will only tell you the base OS name.  Part 2 (the WMI code) will give you the level of granularity you&#8217;re looking for.  I haven&#8217;t had much free time lately, but I really hope to post the WMI code soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas W.</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-263</link>
		<dc:creator>Thomas W.</dc:creator>
		<pubDate>Mon, 05 Oct 2009 09:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-263</guid>
		<description>&lt;p&gt;Based on above link with this additional information you can modify the sources for Windows 7: &lt;a href=&quot;http://www.codeguru.com/cpp/misc/misc/system/article.php/c8973/&quot; rel=&quot;nofollow&quot;&gt;http://www.codeguru.com/cpp/misc/misc/system/article.php/c8973/&lt;/a&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Based on above link with this additional information you can modify the sources for Windows 7: <a href="http://www.codeguru.com/cpp/misc/misc/system/article.php/c8973/" rel="nofollow">http://www.codeguru.com/cpp/misc/misc/system/article.php/c8973/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas W.</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-262</link>
		<dc:creator>Thomas W.</dc:creator>
		<pubDate>Mon, 05 Oct 2009 08:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-262</guid>
		<description>&lt;p&gt;Well, Windows 7 - but which edition?
All the servers are missing as well (2003 Server, 2008 Server) including the editions.
This one tries but is not up to date regarding Windows 7: &lt;a href=&quot;http://netcode.ru/dotnet/?lang=&amp;katID=30&amp;skatID=277&amp;artID=7667&quot; rel=&quot;nofollow&quot;&gt;http://netcode.ru/dotnet/?lang=&amp;katID=30&amp;skatID=277&amp;artID=7667&lt;/a&gt;

&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Well, Windows 7 &#8211; but which edition?<br />
All the servers are missing as well (2003 Server, 2008 Server) including the editions.<br />
This one tries but is not up to date regarding Windows 7: <a href="http://netcode.ru/dotnet/?lang=&amp;katID=30&amp;skatID=277&amp;artID=7667" rel="nofollow">http://netcode.ru/dotnet/?lang=&amp;katID=30&amp;skatID=277&amp;artID=7667</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bacardi</title>
		<link>http://andrewensley.com/2009/06/c-detect-windows-os-part-1/comment-page-1/#comment-257</link>
		<dc:creator>Bacardi</dc:creator>
		<pubDate>Thu, 01 Oct 2009 17:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://andrewensley.com/?p=112#comment-257</guid>
		<description>&lt;p&gt;Great work, thanks for sharing!&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Great work, thanks for sharing!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
