88 references to LocalMachine
ComSvcConfig (1)
WasAdminWrapper.cs (1)
46
RegistryKey inetStpKey = Registry.
LocalMachine
.OpenSubKey(inetStp);
mscorlib (11)
microsoft\win32\registry.cs (1)
114
basekey = Registry.
LocalMachine
;
system\environment.cs (3)
671
Registry.
LocalMachine
.OpenSubKey(@"System\CurrentControlSet\Control\Session Manager\Environment", false)) {
869
Registry.
LocalMachine
.OpenSubKey(@"System\CurrentControlSet\Control\Session Manager\Environment", false)) {
983
Registry.
LocalMachine
.OpenSubKey(@"System\CurrentControlSet\Control\Session Manager\Environment", true)) {
system\globalization\culturedata.cs (1)
796
Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.
LocalMachine
.InternalOpenSubKey(s_RegionKey, false);
system\security\cryptography\utils.cs (1)
531
using (RegistryKey fipsAlgorithmPolicyKey = Registry.
LocalMachine
.OpenSubKey(@"System\CurrentControlSet\Control\Lsa", false))
system\timezoneinfo.cs (5)
933
using (RegistryKey reg = Registry.
LocalMachine
.OpenSubKey(
1432
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(
2310
using (RegistryKey dynamicKey = Registry.
LocalMachine
.OpenSubKey(
2487
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(
2772
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(
PresentationCore (5)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
107
using (Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.
LocalMachine
.OpenSubKey(MS.Internal.RegistryKeys.FRAMEWORK_RegKey))
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
199
using (RegistryKey fontsKey = Registry.
LocalMachine
.OpenSubKey(InstalledWindowsFontsRegistryKey))
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
389
RegistryKey regkey = Registry.
LocalMachine
;
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (1)
389
RegistryKey key = Registry.
LocalMachine
.OpenSubKey(c_devmodeRegKey);
Shared\MS\Internal\SafeSecurityHelper.cs (1)
388
featureKey = Registry.
LocalMachine
.OpenSubKey(RegistryKeys.WPF_Features);
PresentationFramework (6)
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (2)
157
featureKey = Registry.
LocalMachine
.OpenSubKey(KILL_BIT_REGISTRY_LOCATION);
166
featureKey = Registry.
LocalMachine
.OpenSubKey(KILL_BIT_REGISTRY_LOCATION + @"\" + assemblyName);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
3763
RegistryKey rk = Registry.
LocalMachine
.OpenSubKey("Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes");
src\Framework\System\Windows\Documents\Serialization\SerializerProvider.cs (1)
294
private static readonly RegistryKey _rootKey = Registry.
LocalMachine
;
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
454
using (RegistryKey lsaKey = Registry.
LocalMachine
.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Lsa"))
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
388
featureKey = Registry.
LocalMachine
.OpenSubKey(RegistryKeys.WPF_Features);
SMSvcHost (1)
System\ServiceModel\Activation\SMSvcHost.cs (1)
38
using (RegistryKey localMachine = Registry.
LocalMachine
)
System (16)
compmod\microsoft\win32\SystemEvents.cs (1)
1043
RegistryKey key = Registry.
LocalMachine
.OpenSubKey(string.Format(System.Globalization.CultureInfo.CurrentCulture,
net\System\Net\_DigestClient.cs (1)
747
using (RegistryKey lsaKey = Registry.
LocalMachine
.OpenSubKey(suppressExtendedProtectionKey)) {
net\System\Net\_RegBlobWebProxyDataBuilder.cs (1)
84
lmKey = Registry.
LocalMachine
.OpenSubKey(PolicyKey);
net\System\Net\HttpSysSettings.cs (1)
46
RegistryKey httpSysParameters = Registry.
LocalMachine
.OpenSubKey(httpSysParametersKey);
net\System\Net\HybridWebProxyFinder.cs (1)
117
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(allowFallbackKey))
net\System\Net\Internal.cs (1)
727
using (RegistryKey installTypeKey = Registry.
LocalMachine
.OpenSubKey(OSInstallTypeRegKey))
net\System\Net\NetRegistryConfiguration.cs (1)
119
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(path))
services\monitoring\system\diagnosticts\EventLog.cs (2)
446
baseKey = Registry.
LocalMachine
;
1056
lmkey = Registry.
LocalMachine
;
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
1135
lmkey = Registry.
LocalMachine
;
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (4)
461
serviceParentKey = Registry.
LocalMachine
.OpenSubKey(ServicePath, true);
556
serviceKey = Registry.
LocalMachine
.OpenSubKey(ServicePath, true);
628
key = Registry.
LocalMachine
.OpenSubKey(keyPath);
900
libraryParentKey = Registry.
LocalMachine
.OpenSubKey(PerflibPath);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
616
categoryKey = Registry.
LocalMachine
.OpenSubKey(PerformanceCounterLib.ServicePath + "\\" + categoryName + "\\Performance");
sys\system\io\ports\SerialPort.cs (1)
681
baseKey = Registry.
LocalMachine
;
System.Data (2)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2207
using(RegistryKey key = Registry.
LocalMachine
.OpenSubKey(subkey, false)) {
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (1)
473
RegistryKey key = Registry.
LocalMachine
.OpenSubKey(keyName);
System.IdentityModel (2)
System\IdentityModel\SecurityUtils.cs (2)
220
using (RegistryKey fipsAlgorithmPolicyKey = Registry.
LocalMachine
.OpenSubKey(fipsPolicyRegistryKey, false))
272
using (RegistryKey securityRegKey = Registry.
LocalMachine
.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework\Security", false))
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\CardSpaceShim.cs (1)
235
using (RegistryKey implDllKey = Registry.
LocalMachine
.OpenSubKey(REDIRECT_DLL_REG_KEY))
System.Management (4)
Instrumentation\WMICapabilities.cs (3)
32
wmiNetKey = Registry.
LocalMachine
.OpenSubKey(WMINetKeyPath, false);
33
wmiKey = Registry.
LocalMachine
.OpenSubKey(WMIKeyPath, false);
80
RegistryKey wmiCIMOMKey = Registry.
LocalMachine
.OpenSubKey(WMICIMOMKeyPath, true);
managementscope.cs (1)
54
s_switchesRegKey = Registry.
LocalMachine
.OpenSubKey(RegKeyLocation);
System.Net (1)
net\PeerToPeer\UnsafePeerToPeerMethods.cs (1)
301
using (RegistryKey installTypeKey = Registry.
LocalMachine
.OpenSubKey(OSInstallTypeRegKey)) {
System.Security (2)
system\security\cryptography\xml\signedxml.cs (1)
746
using (RegistryKey stringListKey = Registry.
LocalMachine
.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework\Security\" + subkey, false)) {
system\security\cryptography\xml\utils.cs (1)
486
using (RegistryKey securityRegKey = Registry.
LocalMachine
.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework\Security", false)) {
System.ServiceModel (5)
System\ServiceModel\Activation\Iis7Helper.cs (1)
53
using (RegistryKey localMachine = Registry.
LocalMachine
)
System\ServiceModel\ComIntegration\TypeCacheManager.cs (2)
77
interfaceKey = Registry.
LocalMachine
.OpenSubKey(keyName, false);
354
using (RegistryKey clsidKey = Registry.
LocalMachine
.OpenSubKey(keyName, false))
System\ServiceModel\Security\SecurityUtils.cs (1)
1178
using (RegistryKey channelBindingPolicyKey = Registry.
LocalMachine
.OpenSubKey(suppressChannelBindingRegistryKey, false))
System\ServiceModel\Security\SecurityUtilsEx.cs (1)
58
using (RegistryKey fipsAlgorithmPolicyKey = Registry.
LocalMachine
.OpenSubKey(fipsPolicyRegistryKey, false))
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseSettings.cs (1)
481
using (RegistryKey registryKey = Registry.
LocalMachine
.OpenSubKey(IISConstants.CBTRegistryHKLMPath))
System.Web (2)
Compilation\MultiTargetingUtil.cs (1)
249
var baseKey = Registry.
LocalMachine
.OpenSubKey(path);
Util\Misc.cs (1)
174
return Registry.
LocalMachine
.OpenSubKey(key);
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Application.cs (2)
182
return Registry.
LocalMachine
.CreateSubKey(CommonAppDataRegistryKeyName);
206
RegistryKey key = Registry.
LocalMachine
.OpenSubKey(CommonAppDataRegistryKeyName);
winforms\Managed\System\WinForms\InputLanguage.cs (2)
194
RegistryKey key = Registry.
LocalMachine
.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts\\" + keyName);
232
RegistryKey layouts = Registry.
LocalMachine
.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts");
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
211
RegistryKey key = Registry.
LocalMachine
.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework");
winforms\Managed\System\WinForms\NativeWindow.cs (1)
499
RegistryKey debugKey = Registry.
LocalMachine
.OpenSubKey(@"Software\Microsoft\.NETFramework");
winforms\Managed\System\WinForms\TrustManager.cs (1)
787
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(PromptingLevelKeyName))
System.Workflow.Activities (2)
Common\CompModHelpers.cs (2)
567
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(ProductRootRegKey))
615
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(ProductRootRegKey30))
System.Workflow.ComponentModel (4)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
460
ndpSetupKey = Registry.
LocalMachine
.OpenSubKey(NDPSetupRegistryBranch);
886
RegistryKey winoeKey = Registry.
LocalMachine
.OpenSubKey(Helpers.ProductRootRegKey);
Shared\CompModHelpers.cs (2)
565
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(ProductRootRegKey))
613
using (RegistryKey key = Registry.
LocalMachine
.OpenSubKey(ProductRootRegKey30))
System.Workflow.Runtime (2)
DebugEngine\DebugController.cs (1)
482
RegistryKey debugEngineSubKey = Registry.
LocalMachine
.OpenSubKey(RegistryKeys.DebuggerSubKey);
DebugEngine\DebugControllerThread.cs (1)
100
RegistryKey debugEngineSubKey = Registry.
LocalMachine
.OpenSubKey(RegistryKeys.DebuggerSubKey);
System.Xml (2)
System\Xml\Core\XmlReaderSettings.cs (1)
733
if (!ReadSettingsFromRegistry(Registry.
LocalMachine
, ref enableSettings))
System\Xml\XmlQualifiedName.cs (1)
191
ReadBoolFromXmlRegistrySettings(Registry.
LocalMachine
, regValueName, ref disableHashing);
WindowsBase (5)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
228
using (RegistryKey securityRegKey = Registry.
LocalMachine
.OpenSubKey(_NetFxSecurityKey, false))
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
953
RegistryKey key = Registry.
LocalMachine
.OpenSubKey(_passportActivationRegistryKeyName);
Shared\MS\Internal\Invariant.cs (1)
314
key = Registry.
LocalMachine
.OpenSubKey("Software\\Microsoft\\.NETFramework");
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
565
userProfileKey = Registry.
LocalMachine
.OpenSubKey(_profileListKeyName + @"\" + userSid);
Shared\MS\Internal\TextServicesLoader.cs (1)
230
tipsWantToRun = IterateSubKeys(Registry.
LocalMachine
, "SOFTWARE\\Microsoft\\CTF\\TIP",new IterateHandler(SingleTIPWantsToRun), true) == EnableState.Enabled;
WsatConfig (2)
Configuration\RegistryExceptionHelper.cs (1)
48
registryBase += Registry.
LocalMachine
.Name;
Configuration\StdRegProviderWrapper.cs (1)
335
regKey = Registry.
LocalMachine
.OpenSubKey(
WsatUI (4)
Configuration\RegistryExceptionHelper.cs (1)
48
registryBase += Registry.
LocalMachine
.Name;
Configuration\RegistryHelper.cs (2)
40
RegistryKey regKey = Registry.
LocalMachine
.OpenSubKey(
86
RegistryKey regKey = Registry.
LocalMachine
.OpenSubKey(
Configuration\StdRegProviderWrapper.cs (1)
335
regKey = Registry.
LocalMachine
.OpenSubKey(