3 references to SafeRegistryHandle
mscorlib (3)
microsoft\win32\registrykey.cs (2)
635SafeRegistryHandle srh = new SafeRegistryHandle(hKey, isPerf); 694int ret = Win32Native.RegConnectRegistry(machineName, new SafeRegistryHandle(new IntPtr((int)hKey), false), out foreignHKey);
system\AppContext\AppContextDefaultValues.DesktopOverrides.cs (1)
133using (SafeRegistryHandle hklm = new SafeRegistryHandle((IntPtr)RegistryHive.LocalMachine, true))