Archive for February, 2006

Avoid polling registry keys in .NET (C#)

Monday, February 27th, 2006

Some days ago I read an article at The Old New Thing about performance cost of reading a registry key. As I am reading registry keys in quite frequently I wonderd how to avoid polling registry keys in .NET (C#). Windows API provides a function RegNotifyChangeKeyValue which notifies the caller about changes. Sadly, this function [...]