I need to get information about system such as: motherboard info, hdd info, e.t.c. in OS Windows. I can get it from wmi service. But I need to gather it with .NET core application.
I know in .NET application there interface IWbemServices to interact with WMI service, but I can't find something similar in .NET core.
So I have a questions:
- Can I create COM object with .NET core application. If it's "yes" then how can I do it?
- Are there other ways to get information about hardware, through .NET core?
The query is now available in Windows Compatibility Pack under
System.Management
.