Microsoft.Win32.SafeHandles.SafeRegistryHandle public sealed class SafeRegistryHandle : SafeHandle Documentation Code public SafeRegistryHandle(IntPtr preexistingHandle, bool ownsHandle)