The AssetDisplay sample is probably the most confusing sample in the SDK. I wasted a lot of time trying to figure out how it worked. It took me awhile to realize that the sample dealt with the XML data directly instead of using the classes included in the SDK. Wait a minute...isn't that the purpose of the SDK?
My AssetDisplay sample uses the same concepts I talked about in earlier posts (Get function, Enumerate function) to get information about the Chassis, Chip/Processor, and PhysicalMemory. It doesn't show as much information as the SDK's sample, but again, its purpose is to help you understand what's going on.
Click here to download the sample (C#, Visual Studio 2008).
I'd really appreciate some feedback on the first 3 samples. Were they easy to understand? Did they give you the right output? Do they even compile?! Please leave a comment and/or question.
Click here to download Sample 1 (HostName and VersionString).
Click here to download Sample 2 (RemoteControl).
Click here to download Sample 3 (AssetDisplay).
* All samples are written in C# using Visual Studio 2008.
As always, remember to check my blog every Monday and Wednesday for new posts.