is there any way or package to query pc specification on Ms Windows is?
to be clear, foe example I need to know: CPU type(for example Intel Core i7-8700 @ 3.2Ghz), display card(e.g. Nvidia geforce 1080), 2 hardisk(st31000528as 1T, kbg30xxx Toshiba 256G), memeory(16G), just like what cpu-z does. additional, is it possible to know which monitor/displayer is used?
author additional question, is it possible to get all PCs specification under the same LAN?
btw, I have searched that Windows Management Instrumentation (Ami maybe useful) but I did not find a smile package for nim yet.
thanks
I don't know, I found this in my search:
https://docs.microsoft.com/de-de/windows/win32/api/setupapi/nf-setupapi-setupdigetclassdevsexa
Wrapping this via c2nim or manually isn't hard.
I'm right in the middle of adding Windows support to psutil for Hacktoberfest, but I don't have any exemplar code for things like identifying the graphics card or CPU type (the python version psutil doesn't do either of those).
If you have exemplar Win32 C code or can figure out what to pass to the function @Araq found I'd be happy to add it.
PRs always welcome as well ;)