English | 中文 | Русский | Français
2,668 Posts served
8,461 Conversations started
Sample Code!
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.

tejs
155
Status Points:
105
many thanks for the samples, its working beautifully. initially i had some problem while compiling the sample as Microsoft build path for visual studio was not set properly but once i set that it is running smoothly.
i am working on integration of AMT functionality with existing application so from now onward i would be interacting with you frequently and i hope you would be there to help me.
one of the initial doubts i have is after making the successful connection to the client machine is there any way to disconnect because if i do not disconnect properly then next time it does not connect through program. please give some input on this.
thanks.
Tej.