Comments on: Collecting Hardware Information using C# and WMI http://www.terminally-incoherent.com/blog/2010/02/18/collecting-hardware-information-using-c-and-wmi/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Zahra http://www.terminally-incoherent.com/blog/2010/02/18/collecting-hardware-information-using-c-and-wmi/#comment-17279 Mon, 27 Sep 2010 20:07:07 +0000 http://www.terminally-incoherent.com/blog/?p=5014#comment-17279

thanks alot.how can I print these information?(hardware information)

Reply  |  Quote
]]>
By: Abhishek http://www.terminally-incoherent.com/blog/2010/02/18/collecting-hardware-information-using-c-and-wmi/#comment-14571 Wed, 10 Mar 2010 20:15:42 +0000 http://www.terminally-incoherent.com/blog/?p=5014#comment-14571

Thanks a lot. This was really helpful :)

Reply  |  Quote
]]>
By: Jay http://www.terminally-incoherent.com/blog/2010/02/18/collecting-hardware-information-using-c-and-wmi/#comment-14355 Fri, 19 Feb 2010 09:23:40 +0000 http://www.terminally-incoherent.com/blog/?p=5014#comment-14355

C# requires the .NET environment which I’m fairly certain XP do not come with out of the box.

Getting the average luser to install the runtime from Windows Update might just be even worse IMO…

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2010/02/18/collecting-hardware-information-using-c-and-wmi/#comment-14350 Fri, 19 Feb 2010 01:55:10 +0000 http://www.terminally-incoherent.com/blog/?p=5014#comment-14350

@ ths:

Cool, I check out that app. Nevertheless I sort of wanted to write my own – you know, for shits and giggles. :)

@ Mart:

I did not know that. This will probably be useful at some point. Thanks. Still, I’m trying to roll that into an app so that I can get that info without making users deal with command line.

Reply  |  Quote
]]>
By: Mart http://www.terminally-incoherent.com/blog/2010/02/18/collecting-hardware-information-using-c-and-wmi/#comment-14349 Fri, 19 Feb 2010 01:45:28 +0000 http://www.terminally-incoherent.com/blog/?p=5014#comment-14349

WMI has its own console it you want to poke around using just the Windows command line. Just hit “wmic”.

I discovered this when I was researching how to automagically uninstall Windows applications silently using a batch file. It’s pretty cool.

Reply  |  Quote
]]>
By: ths http://www.terminally-incoherent.com/blog/2010/02/18/collecting-hardware-information-using-c-and-wmi/#comment-14343 Thu, 18 Feb 2010 16:44:10 +0000 http://www.terminally-incoherent.com/blog/?p=5014#comment-14343

there is software on sourceforge.net to solve your exact problem: a WMI inventory scanner which can post its results via http/https.
I still use the predecessor winventory, while the development continues under the new name openIT.
It is VBS code, not C#, but basically it does the same: it collects lots of information and posts it.
The early version winventory creates SQL, not http, which suits me better, while the latter version makes more sense in a distributed environment where you don’t trust foreign SQL ;)

Reply  |  Quote
]]>