Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何通过 C#.Net 获取所有计算机硬件的序列号?像鼠标、键盘、扬声器、打印机等?
是否有可能获得公司名称和型号?
谢谢。
MSDN 中的这个线程就是你要找的。
例如:
string processor = RunQuery("Processor", "ProcessorId");