WMI __InstanceModificationEvent filtering
问题 We are designing a monitoring solution for our system, and we're looking into WMI as a possible option. In short, we want to create a generic system where it shall be possible to subscribe to multiple changes in WMI data instances. We're looking into the __InstanceModificationEvent to do this: The following prototype code monitors all changes on any instance of notepad: void StartMonitor() { var query = "SELECT * " + "FROM __InstanceModificationEvent " + "WITHIN 1 " + "WHERE TargetInstance