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