<?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>Jeremy&#039;s Blog &#187; WMI</title>
	<atom:link href="http://www.jeremyprivett.com/blog/archives/tag/wmi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeremyprivett.com/blog</link>
	<description>Programming and Life</description>
	<lastBuildDate>Wed, 05 May 2010 03:16:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>LinqToWMI Project</title>
		<link>http://www.jeremyprivett.com/blog/archives/linqtowmi-project/</link>
		<comments>http://www.jeremyprivett.com/blog/archives/linqtowmi-project/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 16:49:26 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[General Ramblings]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://www.jeremyprivett.com/blog/?p=264</guid>
		<description><![CDATA[As classes and consulting work at Omega Vortex keep pushing me more and more into .NET development, I thought it would be a good time as any to try to start learning new things and try to keep my mind working on this stuff. I decided to start looking for an Open Source project that [...]]]></description>
			<content:encoded><![CDATA[<p>As classes and consulting work at <a href="http://www.omegavortex.net" target="_blank">Omega Vortex</a> keep pushing me more and more into .NET development, I thought it would be a good time as any to try to start learning new things and try to keep my mind working on this stuff. I decided to start looking for an Open Source project that I could contribute to.</p>
<p>After noticing <a href="http://twitter.com/kevindente/statuses/865491896" target="_blank">someone on Twitter</a> mention a <a href="http://www.codeplex.com/linq2wmi" target="_blank">LINQ to WMI project</a>, it seemed like the perfect fit. LINQ (Language-Integrated Query) is something I&#8217;m not <em>too</em> familiar with and want to learn. While I&#8217;m somewhat familiar with WMI (Windows Management Instrumentation), <strong>it&#8217;s huge</strong>. There&#8217;s still plenty left to be learned about it.</p>
<p>I&#8217;ve become a developer on the <a href="http://www.codeplex.com/linq2wmi" target="_blank">LinqToWMI</a> project at <a href="http://www.codeplex.com" target="_blank">Microsoft&#8217;s CodePlex</a> and I&#8217;ve already made two major updates for those who are interested. One of which is the ability to generate &#8220;Commonly Used&#8221; WMI classes instead of just generating the ones you need one at a time. The next is a major speed enhancing change on the ClassGenerator.</p>
<p>It came to my attention while testing the project that it would crash with a NullReferenceException if there were no instances available of the class you wanted to generate. (Example: It would crash when trying to generate a Win32_FloppyDrive class. My laptop has no floppy drive.) In re-working the generator to not use an instance to generate code from, we gained a pretty huge speed boost from not having to search for an instance. Before, it took about 4 or 5 seconds to generate around 15 classes. Now it takes a fraction of a second.</p>
<p>If you&#8217;re needing to use the WMI on a project and want an easy way to query it, give this project a shot. If you think it&#8217;s good, help us out by contributing patches or bug reports so we can make the project even better.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jeremyprivett.com/blog/archives/linqtowmi-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

