RegistryOptions.Volatile in .NET 4

Fri, July 17, 2009, 12:54 PM under dotNET
About 18 months ago I wrote a blog post offering an unsupported solution for working with volatile registry keys from .NET code.

FYI, support for volatile keys is introduced in the Microsoft.Win32 namespace of .NET 4 Beta1 (for the desktop only, so far). The API is simple enough that no sample is needed, start at the new overload for RegistryKey.CreateSubKey that accepts the new enumeration RegistryOptions.