how to get wmic info win11
-
Hello!
wmic
command is not available onWindows 11 Insider Preview
. I recommend to use theWMI (Windows Management Instrumentation)
. Check out theC++
example here: https://docs.microsoft.com/en-us/windows/win32/wmisdk/example-creating-a-wmi-applicationYou can easily use it with
Qt
framework. -
@fadu
Qt is not a programming language. C# is a programming language, but not used with Qt. C++ (or Python) is used with Qt. I think you will find that the library you are thinking of with C# is actually a .NET library, which again is a different thing, and not used by Qt. -
@fadu
And I replied that I suspect you are talking about a .NET library, which you can access from a C# program running under Windows with a .NET runtime environment, which is not the situation for a Qt C++ program. So what would you like me to say?Maybe you can try going to the effort of importing .NET runtime libraries into Qt/C++, I don't know, but haven't heard of people using it much in practice. Dot Net Example (ActiveQt).
-
Hello!
wmic
command is not available onWindows 11 Insider Preview
. I recommend to use theWMI (Windows Management Instrumentation)
. Check out theC++
example here: https://docs.microsoft.com/en-us/windows/win32/wmisdk/example-creating-a-wmi-applicationYou can easily use it with
Qt
framework. -
@Cobra91151
Yeah, that's much better, no .NET or C#! -
@Cobra91151
thank you