If you are going to watch the entire registry, you are going to have to
call the RegNotifyChangeKeyValue function through the P/Invoke layer. You
will have to pass the handle for each of the hive roots (HKEY_CLASSES_ROOT,
HKEY_CURRENT_CONFIG, etc, etc) and then make sure that the bWatchSubtree
parameter is true).
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"AliRezaGoogle" <as*******@yahoo.comwrote in message
news:11**********************@o3g2000hsb.googlegro ups.com...
Dear group,
I need to be aware of any changes happening in registry any time using
c#. Is there any solution?
Thanks