This is my first question. In addition, I am a Japanese who has not mastered English, so please be kind.(By the way, most of these sentences are made using Google Translate.)
I want to get the device in "Devices and Printers".For example, I want to get the device name such as "ATH-CKR35BT", "ERGO M575", "Xperia Z5".(Not the device ID). In the case of a printer, I could easily get it using System.Drawing.Printing. But I don't know how to get the device. I want to get the device in "Devices And Printer"
I tried using WMI's WQL to get these, but didn't get the information I wanted. I also tried the Setup API, but couldn't find what I needed. I searched for this for two days, but I couldn't find anything.I don't know what to do anymore.So I asked.
Is it possible to get the device of "Devices and Printers"? If you can get it, please tell me the specific method.