i want some code in C# or c++ or vb or other language.
i want write somethings like windows device manager.
in device manager list all hardware that system have.
you can also write click on a device and select "properties" and in open window you can select "Details" and there you can find some thing like "device description" "hardware ID" and other things.
i use WMI, but i can not find some device with WMI.
a WMI query example "SELECT * FROM Win32_LogicalDisk" you can find information about drive.