COM vs WMI to provide information

What is the best method to use if I would like to provide the user with some information about my hardware device .

Should I develop my own COM library or should I develop a WMI provider?

+3
source share
2 answers

I think no problem: WMI is Microsoft's blessed way of delivering performance and hardware information.

This should be how you provide the information you describe. Win32_Computer and other hardware classes have many use cases that provide information about the processor, memory size, etc. (Material that does not change when the software starts).

I say that since you specifically highlighted the “hardware device”. Do not think that WMI is intended to report only on types of software, such as memory usage or process lists.

There a large amount of software is already specially built for WMI request (including one of mine), so there is no shortage of people who will know how to do this.

+6
source

WMI . WMI Code Creator, WMI.

+4

Source: https://habr.com/ru/post/1705846/


All Articles