开发者

How to detect RegOpenKey or RegSetInfoKey Event in C#

im trying to detect the RegOpenKey or RegSetInfoKey event like P开发者_开发百科rocess 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!


Use WMI. Read some example here.


Have a look at this page: Global System Hooks in .NET

I believe that will accomplish what you're trying to do.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜