<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Samuel Haddad &#187; WMI</title>
	<atom:link href="http://samuelhaddad.com/tag/wmi/feed/" rel="self" type="application/rss+xml" />
	<link>http://samuelhaddad.com</link>
	<description></description>
	<lastBuildDate>Thu, 09 Sep 2010 06:17:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Find Dell Service Tag with C#.NET</title>
		<link>http://samuelhaddad.com/2009/08/15/find-dell-service-tag-with-c-net/</link>
		<comments>http://samuelhaddad.com/2009/08/15/find-dell-service-tag-with-c-net/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 03:13:04 +0000</pubDate>
		<dc:creator>Samuel Haddad</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[Express Service Code]]></category>
		<category><![CDATA[Serial Number]]></category>
		<category><![CDATA[Service Tag]]></category>
		<category><![CDATA[Tech Support]]></category>
		<category><![CDATA[Win32 Bios]]></category>
		<category><![CDATA[Windows  Managment Instrumentation]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://samuelhaddad.com/?p=418</guid>
		<description><![CDATA[In my line of work, I deal with a lot of Dell computers. I decided to write a little program that I could carry on my flash drive with me and all my other technical applications. What I like most about this application is the ability to quickly get to the Dell Warranty and driver [...]]]></description>
			<content:encoded><![CDATA[<p>In my line of work, I deal with a lot of Dell computers. I decided to write a little program that I could carry on my flash drive with me and all my other technical applications. What I like most about this application is the ability to quickly get to the Dell Warranty and driver information. I hope that someone else find this useful as well, if you do let me know.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-433" title="DellServiceTagFinder" src="http://samuelhaddad.com/wp-content/uploads/2009/08/DellServiceTagFinder.png" alt="DellServiceTagFinder" width="238" height="120" /></p>
<p style="text-align: center;">Download Dell Service Tag Finder: <a href="http://samuelhaddad.com/wp-content/uploads/2009/08/DellServiceTag.zip">Source</a> | <a href="http://samuelhaddad.com/wp-content/uploads/2009/08/DellServiceTag.exe">Executable</a></p>
<p style="TEXT-ALIGN: left">This is was possible using <a href="http://msdn.microsoft.com/en-us/library/aa394582(VS.85).aspx" target="_blank">Windows Management Instrumentation </a>and if you are interested in pulling other information from your computer I recommend you read up on it. For this example I used the <a href="http://msdn.microsoft.com/en-us/library/aa394077(VS.85).aspx" target="_blank">Win32_BIOS Class</a>, but you can find all the <a href="http://msdn.microsoft.com/en-us/library/aa394554(VS.85).aspx" target="_self">WMI Classes here</a>.</p>
<h2 style="text-align: left;">Preview of Source:</h2>
<pre class="brush: csharp;">
        String dellServiceTag;

        private void Form1_Load(object sender, EventArgs e)
        {
            //Load Service Tag
            ManagementClass wmi = new ManagementClass(&quot;Win32_Bios&quot;);
            foreach (ManagementObject bios in wmi.GetInstances())
            {
                dellServiceTag = bios.Properties[&quot;Serialnumber&quot;].Value.ToString().Trim();
            }
            Display.Text = dellServiceTag;
        }
</pre>
<h3>Notes:</h3>
<p>This application requires the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;displaylang=en" target="_blank">.NET Framework </a>or you may receive application errors.</p>
<p>The service tag is pulled from the BIOS so if you ever had your motherboard replaced and the service tag was not reset it will be blank.</p>
]]></content:encoded>
			<wfw:commentRss>http://samuelhaddad.com/2009/08/15/find-dell-service-tag-with-c-net/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
