88 references to LocalMachine
ComSvcConfig (1)
WasAdminWrapper.cs (1)
46RegistryKey inetStpKey = Registry.LocalMachine.OpenSubKey(inetStp);
mscorlib (11)
microsoft\win32\registry.cs (1)
114basekey = Registry.LocalMachine;
system\environment.cs (3)
671Registry.LocalMachine.OpenSubKey(@"System\CurrentControlSet\Control\Session Manager\Environment", false)) { 869Registry.LocalMachine.OpenSubKey(@"System\CurrentControlSet\Control\Session Manager\Environment", false)) { 983Registry.LocalMachine.OpenSubKey(@"System\CurrentControlSet\Control\Session Manager\Environment", true)) {
system\globalization\culturedata.cs (1)
796Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.InternalOpenSubKey(s_RegionKey, false);
system\security\cryptography\utils.cs (1)
531using (RegistryKey fipsAlgorithmPolicyKey = Registry.LocalMachine.OpenSubKey(@"System\CurrentControlSet\Control\Lsa", false))
system\timezoneinfo.cs (5)
933using (RegistryKey reg = Registry.LocalMachine.OpenSubKey( 1432using (RegistryKey key = Registry.LocalMachine.OpenSubKey( 2310using (RegistryKey dynamicKey = Registry.LocalMachine.OpenSubKey( 2487using (RegistryKey key = Registry.LocalMachine.OpenSubKey( 2772using (RegistryKey key = Registry.LocalMachine.OpenSubKey(
PresentationCore (5)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
107using (Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(MS.Internal.RegistryKeys.FRAMEWORK_RegKey))
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
199using (RegistryKey fontsKey = Registry.LocalMachine.OpenSubKey(InstalledWindowsFontsRegistryKey))
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
389RegistryKey regkey = Registry.LocalMachine;
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (1)
389RegistryKey key = Registry.LocalMachine.OpenSubKey(c_devmodeRegKey);
Shared\MS\Internal\SafeSecurityHelper.cs (1)
388featureKey = Registry.LocalMachine.OpenSubKey(RegistryKeys.WPF_Features);
PresentationFramework (6)
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\System\Windows\Documents\RtfToXamlReader.cs (1)
3763RegistryKey rk = Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes");
src\Framework\System\Windows\Documents\Serialization\SerializerProvider.cs (1)
294private static readonly RegistryKey _rootKey = Registry.LocalMachine;
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)
38using (RegistryKey localMachine = Registry.LocalMachine)
System (16)
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 (2)
446baseKey = Registry.LocalMachine; 1056lmkey = Registry.LocalMachine;
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
1135lmkey = Registry.LocalMachine;
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (4)
461serviceParentKey = Registry.LocalMachine.OpenSubKey(ServicePath, true); 556serviceKey = Registry.LocalMachine.OpenSubKey(ServicePath, true); 628key = Registry.LocalMachine.OpenSubKey(keyPath); 900libraryParentKey = Registry.LocalMachine.OpenSubKey(PerflibPath);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
616categoryKey = Registry.LocalMachine.OpenSubKey(PerformanceCounterLib.ServicePath + "\\" + categoryName + "\\Performance");
sys\system\io\ports\SerialPort.cs (1)
681baseKey = Registry.LocalMachine;
System.Data (2)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2207using(RegistryKey key = Registry.LocalMachine.OpenSubKey(subkey, false)) {
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (1)
473RegistryKey key = Registry.LocalMachine.OpenSubKey(keyName);
System.IdentityModel (2)
System\IdentityModel\SecurityUtils.cs (2)
220using (RegistryKey fipsAlgorithmPolicyKey = Registry.LocalMachine.OpenSubKey(fipsPolicyRegistryKey, false)) 272using (RegistryKey securityRegKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework\Security", false))
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\CardSpaceShim.cs (1)
235using (RegistryKey implDllKey = Registry.LocalMachine.OpenSubKey(REDIRECT_DLL_REG_KEY))
System.Management (4)
Instrumentation\WMICapabilities.cs (3)
32 wmiNetKey = Registry.LocalMachine.OpenSubKey(WMINetKeyPath, false); 33wmiKey = Registry.LocalMachine.OpenSubKey(WMIKeyPath, false); 80RegistryKey wmiCIMOMKey = Registry.LocalMachine.OpenSubKey(WMICIMOMKeyPath, true);
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.Security (2)
system\security\cryptography\xml\signedxml.cs (1)
746using (RegistryKey stringListKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework\Security\" + subkey, false)) {
system\security\cryptography\xml\utils.cs (1)
486using (RegistryKey securityRegKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework\Security", false)) {
System.ServiceModel (5)
System\ServiceModel\Activation\Iis7Helper.cs (1)
53using (RegistryKey localMachine = Registry.LocalMachine)
System\ServiceModel\ComIntegration\TypeCacheManager.cs (2)
77interfaceKey = Registry.LocalMachine.OpenSubKey(keyName, false); 354using (RegistryKey clsidKey = Registry.LocalMachine.OpenSubKey(keyName, false))
System\ServiceModel\Security\SecurityUtils.cs (1)
1178using (RegistryKey channelBindingPolicyKey = Registry.LocalMachine.OpenSubKey(suppressChannelBindingRegistryKey, false))
System\ServiceModel\Security\SecurityUtilsEx.cs (1)
58using (RegistryKey fipsAlgorithmPolicyKey = Registry.LocalMachine.OpenSubKey(fipsPolicyRegistryKey, false))
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseSettings.cs (1)
481using (RegistryKey registryKey = Registry.LocalMachine.OpenSubKey(IISConstants.CBTRegistryHKLMPath))
System.Web (2)
Compilation\MultiTargetingUtil.cs (1)
249var baseKey = Registry.LocalMachine.OpenSubKey(path);
Util\Misc.cs (1)
174return Registry.LocalMachine.OpenSubKey(key);
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Application.cs (2)
182return Registry.LocalMachine.CreateSubKey(CommonAppDataRegistryKeyName); 206RegistryKey key = Registry.LocalMachine.OpenSubKey(CommonAppDataRegistryKeyName);
winforms\Managed\System\WinForms\InputLanguage.cs (2)
194RegistryKey key = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts\\" + keyName); 232RegistryKey layouts = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts");
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 (1)
787using (RegistryKey key = Registry.LocalMachine.OpenSubKey(PromptingLevelKeyName))
System.Workflow.Activities (2)
Common\CompModHelpers.cs (2)
567using (RegistryKey key = Registry.LocalMachine.OpenSubKey(ProductRootRegKey)) 615using (RegistryKey key = Registry.LocalMachine.OpenSubKey(ProductRootRegKey30))
System.Workflow.ComponentModel (4)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
460ndpSetupKey = Registry.LocalMachine.OpenSubKey(NDPSetupRegistryBranch); 886RegistryKey winoeKey = Registry.LocalMachine.OpenSubKey(Helpers.ProductRootRegKey);
Shared\CompModHelpers.cs (2)
565using (RegistryKey key = Registry.LocalMachine.OpenSubKey(ProductRootRegKey)) 613using (RegistryKey key = Registry.LocalMachine.OpenSubKey(ProductRootRegKey30))
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);
System.Xml (2)
System\Xml\Core\XmlReaderSettings.cs (1)
733if (!ReadSettingsFromRegistry(Registry.LocalMachine, ref enableSettings))
System\Xml\XmlQualifiedName.cs (1)
191ReadBoolFromXmlRegistrySettings(Registry.LocalMachine, regValueName, ref disableHashing);
WindowsBase (5)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
228using (RegistryKey securityRegKey = Registry.LocalMachine.OpenSubKey(_NetFxSecurityKey, false))
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\TextServicesLoader.cs (1)
230tipsWantToRun = IterateSubKeys(Registry.LocalMachine, "SOFTWARE\\Microsoft\\CTF\\TIP",new IterateHandler(SingleTIPWantsToRun), true) == EnableState.Enabled;
WsatConfig (2)
Configuration\RegistryExceptionHelper.cs (1)
48registryBase += Registry.LocalMachine.Name;
Configuration\StdRegProviderWrapper.cs (1)
335regKey = Registry.LocalMachine.OpenSubKey(
WsatUI (4)
Configuration\RegistryExceptionHelper.cs (1)
48registryBase += Registry.LocalMachine.Name;
Configuration\RegistryHelper.cs (2)
40RegistryKey regKey = Registry.LocalMachine.OpenSubKey( 86RegistryKey regKey = Registry.LocalMachine.OpenSubKey(
Configuration\StdRegProviderWrapper.cs (1)
335regKey = Registry.LocalMachine.OpenSubKey(