82 references to OpenSubKey
ComSvcConfig (2)
WasAdminWrapper.cs (2)
46RegistryKey inetStpKey = Registry.LocalMachine.OpenSubKey(inetStp); 52RegistryKey componentsKey = inetStpKey.OpenSubKey(components);
mscorlib (2)
microsoft\win32\registry.cs (1)
150RegistryKey key = basekey.OpenSubKey(subKeyName);
system\runtime\interopservices\typelibconverter.cs (1)
198using (RegistryKey TypeLibSubKey = TypeLibKey.OpenSubKey(strTlbId))
PresentationCore (5)
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
199using (RegistryKey fontsKey = Registry.LocalMachine.OpenSubKey(InstalledWindowsFontsRegistryKey))
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
390RegistryKey recognizerKey = regkey.OpenSubKey(GestureRecognizerPath);
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (1)
389RegistryKey key = Registry.LocalMachine.OpenSubKey(c_devmodeRegKey);
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
1066key = Registry.CurrentUser.OpenSubKey("Control Panel\\Input Method");
Shared\MS\Internal\SafeSecurityHelper.cs (1)
388featureKey = Registry.LocalMachine.OpenSubKey(RegistryKeys.WPF_Features);
PresentationFramework (11)
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (2)
157featureKey = Registry.LocalMachine.OpenSubKey(KILL_BIT_REGISTRY_LOCATION); 166featureKey = Registry.LocalMachine.OpenSubKey(KILL_BIT_REGISTRY_LOCATION + @"\" + assemblyName);
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (2)
555currentKey = currentKey.OpenSubKey(keyPath[keyNameIndex]); 570RegistryKey mimeTypeKey = (mimeContentType == null ? null : mimeContentType.OpenSubKey(contentType.ToString()));
src\Framework\System\Windows\Application.cs (1)
2618using (RegistryKey soundKey = Registry.CurrentUser.OpenSubKey(regPath))
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
3763RegistryKey rk = Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes");
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
197RegistryKey key = plugIns.OpenSubKey(keyName);
src\Framework\System\Windows\Documents\Serialization\SerializerProvider.cs (2)
115if (!overwrite && plugIns.OpenSubKey(serializerKey) != null) 151if (plugIns.OpenSubKey(serializerKey) == null)
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
454using (RegistryKey lsaKey = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Lsa"))
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
388featureKey = Registry.LocalMachine.OpenSubKey(RegistryKeys.WPF_Features);
SMSvcHost (1)
System\ServiceModel\Activation\SMSvcHost.cs (1)
40using (RegistryKey versionKey = localMachine.OpenSubKey(@"Software\Microsoft\InetSTP"))
System (18)
compmod\microsoft\win32\SystemEvents.cs (1)
1043RegistryKey key = Registry.LocalMachine.OpenSubKey(string.Format(System.Globalization.CultureInfo.CurrentCulture,
net\System\Net\_DigestClient.cs (1)
747using (RegistryKey lsaKey = Registry.LocalMachine.OpenSubKey(suppressExtendedProtectionKey)) {
net\System\Net\_RegBlobWebProxyDataBuilder.cs (1)
84lmKey = Registry.LocalMachine.OpenSubKey(PolicyKey);
net\System\Net\HttpSysSettings.cs (1)
46RegistryKey httpSysParameters = Registry.LocalMachine.OpenSubKey(httpSysParametersKey);
net\System\Net\HybridWebProxyFinder.cs (1)
117using (RegistryKey key = Registry.LocalMachine.OpenSubKey(allowFallbackKey))
net\System\Net\Internal.cs (1)
727using (RegistryKey installTypeKey = Registry.LocalMachine.OpenSubKey(OSInstallTypeRegKey))
net\System\Net\NetRegistryConfiguration.cs (1)
119using (RegistryKey key = Registry.LocalMachine.OpenSubKey(path))
services\monitoring\system\diagnosticts\EventLog.cs (1)
624using (RegistryKey logKey = eventlogkey.OpenSubKey(logName)) {
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
628key = Registry.LocalMachine.OpenSubKey(keyPath); 634key = baseKey.OpenSubKey(keyPath); 900libraryParentKey = Registry.LocalMachine.OpenSubKey(PerflibPath);
services\monitoring\system\diagnosticts\ProcessStartInfo.cs (2)
298key = Registry.ClassesRoot.OpenSubKey(extension); 302key = Registry.ClassesRoot.OpenSubKey(value + "\\shell");
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
616categoryKey = Registry.LocalMachine.OpenSubKey(PerformanceCounterLib.ServicePath + "\\" + categoryName + "\\Performance");
services\monitoring\system\diagnosticts\SharedUtils.cs (4)
244complusReg = baseKey.OpenSubKey("SOFTWARE\\Microsoft\\.NETFramework"); 253RegistryKey policyKey = complusReg.OpenSubKey("policy"); 262RegistryKey bestKey = policyKey.OpenSubKey(versionPrefix); 293RegistryKey k = policyKey.OpenSubKey(majorVersion);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
145RegistryKey validationRegistryKey = Registry.CurrentUser.OpenSubKey(validationKeyPath.ToString());
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
145RegistryKey validationRegistryKey = Registry.CurrentUser.OpenSubKey(validationKeyPath.ToString());
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (1)
473RegistryKey key = Registry.LocalMachine.OpenSubKey(keyName);
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\CardSpaceShim.cs (1)
235using (RegistryKey implDllKey = Registry.LocalMachine.OpenSubKey(REDIRECT_DLL_REG_KEY))
System.Management (1)
managementscope.cs (1)
54s_switchesRegKey = Registry.LocalMachine.OpenSubKey(RegKeyLocation);
System.Net (1)
net\PeerToPeer\UnsafePeerToPeerMethods.cs (1)
301using (RegistryKey installTypeKey = Registry.LocalMachine.OpenSubKey(OSInstallTypeRegKey)) {
System.ServiceModel (3)
System\ServiceModel\Activation\Iis7Helper.cs (1)
55using (RegistryKey versionKey = localMachine.OpenSubKey(subKey))
System\ServiceModel\ComIntegration\TypeCacheManager.cs (2)
358using (RegistryKey assemblyKey = clsidKey.OpenSubKey(typeof(TypeCacheManager).Assembly.ImageRuntimeVersion)) 369using (RegistryKey assemblyKeyAny = clsidKey.OpenSubKey(keyName))
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseSettings.cs (1)
481using (RegistryKey registryKey = Registry.LocalMachine.OpenSubKey(IISConstants.CBTRegistryHKLMPath))
System.Web (3)
Compilation\MultiTargetingUtil.cs (1)
249var baseKey = Registry.LocalMachine.OpenSubKey(path);
Util\AspCompat.cs (1)
310regKey = Registry.ClassesRoot.OpenSubKey("CLSID\\{" + clsid + "}\\InprocServer32" );
Util\Misc.cs (1)
174return Registry.LocalMachine.OpenSubKey(key);
System.Windows.Forms (13)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
1124RegistryKey key = Registry.CurrentUser.OpenSubKey(wintrustPolicyFlagsRegPath);
winforms\Managed\System\WinForms\Application.cs (1)
206RegistryKey key = Registry.LocalMachine.OpenSubKey(CommonAppDataRegistryKeyName);
winforms\Managed\System\WinForms\InputLanguage.cs (5)
194RegistryKey key = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts\\" + keyName); 211RegistryKey substitutions = Registry.CurrentUser.OpenSubKey("Keyboard Layout\\Substitutes"); 232RegistryKey layouts = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts"); 241RegistryKey key = layouts.OpenSubKey(encoding); 266RegistryKey key = layouts.OpenSubKey(encoding);
winforms\Managed\System\WinForms\LinkUtilities.cs (2)
41RegistryKey key = Registry.CurrentUser.OpenSubKey(IESettingsRegPath); 135key = Registry.CurrentUser.OpenSubKey(IEMainRegPath);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
211RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework");
winforms\Managed\System\WinForms\NativeWindow.cs (1)
499RegistryKey debugKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\.NETFramework");
winforms\Managed\System\WinForms\TrustManager.cs (2)
256RegistryKey key = Registry.ClassesRoot.OpenSubKey("http\\shell\\open\\command"); 787using (RegistryKey key = Registry.LocalMachine.OpenSubKey(PromptingLevelKeyName))
System.Workflow.Activities (3)
Common\CompModHelpers.cs (3)
567using (RegistryKey key = Registry.LocalMachine.OpenSubKey(ProductRootRegKey)) 615using (RegistryKey key = Registry.LocalMachine.OpenSubKey(ProductRootRegKey30)) 801RegistryKey referenceKey = Registry.CurrentUser.OpenSubKey(TypeProviderRegistryKeyPath);
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
460ndpSetupKey = Registry.LocalMachine.OpenSubKey(NDPSetupRegistryBranch); 886RegistryKey winoeKey = Registry.LocalMachine.OpenSubKey(Helpers.ProductRootRegKey);
AuthoringOM\Design\Themes.cs (1)
340RegistryKey themeKey = Registry.CurrentUser.OpenSubKey(WorkflowTheme.RegistryKeyPath);
AuthoringOM\Design\WorkflowPrinting.cs (1)
437RegistryKey key = Registry.CurrentUser.OpenSubKey(WinOEPrintingSubKey);
Shared\CompModHelpers.cs (3)
565using (RegistryKey key = Registry.LocalMachine.OpenSubKey(ProductRootRegKey)) 613using (RegistryKey key = Registry.LocalMachine.OpenSubKey(ProductRootRegKey30)) 799RegistryKey referenceKey = Registry.CurrentUser.OpenSubKey(TypeProviderRegistryKeyPath);
System.Workflow.Runtime (2)
DebugEngine\DebugController.cs (1)
482RegistryKey debugEngineSubKey = Registry.LocalMachine.OpenSubKey(RegistryKeys.DebuggerSubKey);
DebugEngine\DebugControllerThread.cs (1)
100RegistryKey debugEngineSubKey = Registry.LocalMachine.OpenSubKey(RegistryKeys.DebuggerSubKey);
WindowsBase (5)
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
953RegistryKey key = Registry.LocalMachine.OpenSubKey(_passportActivationRegistryKeyName);
Shared\MS\Internal\Invariant.cs (1)
314key = Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\.NETFramework");
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
565userProfileKey = Registry.LocalMachine.OpenSubKey(_profileListKeyName + @"\" + userSid);
Shared\MS\Internal\SecurityHelper.cs (1)
1398RegistryKey key = baseRegistryKey.OpenSubKey(keyName);
Shared\MS\Internal\TextServicesLoader.cs (1)
291subKey = key.OpenSubKey(subKeyName);