Receive notification when RegistryKey Value was changed

后端 未结 2 572
耶瑟儿~
耶瑟儿~ 2020-12-15 13:01

I want a notification when a specific RegistryKey in HKEY_CURRENT_USER is changed. So far I tried this via WMI with no success:

var         


        
2条回答
  •  别那么骄傲
    2020-12-15 13:20

    Uploaded to pastbin a nice class that does it. Hope it fits your needs.

    http://www.csharp.pastebin.com/0reFh6v2

提交回复
热议问题