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.
一直在玩 ManagementEventWatcher 类,我很好奇您可以选择哪些系统事件和对象 * from ..
某处有公布的名单吗?
您需要下载并试用WMI Code Creator实用程序。可用事件列在“接收事件”选项卡下。
此线程中提供了 C# 中的示例。
WMI 类及其事件的正式文档从这里开始。