Frage

I have looked around for a registry monitor and the code I'm finding is this: Code here Which doesn't work, it says i have missing namespaces for: ManagementEventWatcher, EventArrivedEventHandler, ManagementException and WqlEventQuery. How do i implement this class as a thread? thanks.

War es hilfreich?

Lösung

add this namespace System.Management. All your required classes are under this namespace. Go To project-->AddReference-->System.Management and add

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top