How can I request local machine specifications (a number of things from the processor specification, OS version, graphics card and driver specifications, etc.) through the program interface? We are writing a simple application in C # to check the compatibility of our main application and we want it to display some system indicators, but I can’t find where to even start, which interfaces to use, libraries, whatever.
I tried all kinds of searches, but I can only find programs and graphical interfaces that require user interaction or installation.
In addition, a small command-line program will work just as well if we are allowed to distribute it using a test application.
I found one program that gets some of the specifications I need, PsInfo . However, apparently, each user should agree to some kind of license at the first start, although this is a command line application. Also, it deals only with OS / CPU information, and I need more.
Also: forgot to mention explicitly, but it really will be necessary for Windows machines. You guys are fast!
Edit: This WMI really looks like what I need, thanks! It is possible a worm, therefore, I have to dive. He mentions that for some things the user must have administrator rights; this probably won't be a big problem, but it can limit it a bit.
source
share