How to create a windows registry watcher application using .Net,
I want this application to watch all the registry hocks and fire an event when a value change, this event will tell the old and new value for that value.
Thats possible? how? need just the idea or where to start
From stackoverflow
-
Take a look at RegistryMonitor - a .NET wrapper class for RegNotifyChangeKeyValue.
-
This looks like a good place to start. There is a WMI class for the registry.
Amr ElGarhy : Using WMI classes for registry i can get the old and new values after a key change?JP Alioto : Still looking but does not look good ... you might have to go with the win32 wrapper method that cletus suggested. -
.Net framework does not contain embedded class to watch the registry. But you still can use wrapped WinAPI calls or WMI interface (see example)
0 comments:
Post a Comment