add this namespace System.Management. All your required classes are under this namespace. Go To project-->AddReference-->System.Management and add
Registry monitor thread not working
-
03-06-2022 - |
Question
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.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow