views:

88

answers:

1

Hi,

im trying to detect the RegOpenKey or RegSetInfoKey event like Process Monitor from Mark Russinovich (Sysinternals) does. Does anyone know how to write a C# Event which gets fired when a Program is doing a RegOpenKey or RegSetInfoKey on a RegistryKey (NOT changing!)?

Thanks in advance!

A: 

Use WMI. Read some example here.

Nayan
Not working....
MemphiZ
Can you state what you tried?
Nayan
It doesn't fire on RegOpenKey only on changes...
MemphiZ