45 references to LocalMachine
IIS.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
101var iisRegistryKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\InetStp", writable: false);
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (1)
28using var key = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\services\HTTP\Parameters");
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
101var iisRegistryKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\InetStp", writable: false);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
168Registry.LocalMachine,
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
101var iisRegistryKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\InetStp", writable: false);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
168Registry.LocalMachine,
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
101var iisRegistryKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\InetStp", writable: false);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
168Registry.LocalMachine,
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
101var iisRegistryKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\InetStp", writable: false);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
168Registry.LocalMachine,
Microsoft.AspNetCore.DataProtection (1)
RegistryPolicyResolver.cs (1)
30_getPolicyRegKey = () => Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\DotNetPackages\Microsoft.AspNetCore.DataProtection");
Microsoft.AspNetCore.InternalTesting.Tests (4)
MaximumOSVersionTest.cs (2)
42var versionKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion"); 55var versionKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion");
MinimumOSVersionTest.cs (2)
41var versionKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion"); 54var versionKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion");
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (1)
28using var key = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\services\HTTP\Parameters");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
src\SignalR\common\Shared\TestCertificates.cs (1)
18var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion");
Microsoft.Build (1)
Utilities\RegistryKeyWrapper.cs (1)
52: this(registryKeyPath, Registry.LocalMachine)
Microsoft.Build.Engine (2)
Engine\RegistryKeyWrapper.cs (1)
50: this(registryKeyPath, Registry.LocalMachine)
Shared\FrameworkLocationHelper.cs (1)
429.LocalMachine
Microsoft.Build.Framework (2)
EncodingUtilities.cs (1)
305using RegistryKey? windowsVersionRegistry = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion");
NativeMethods.cs (1)
612using (RegistryKey fileSystemKey = Registry.LocalMachine.OpenSubKey(WINDOWS_FILE_SYSTEM_REGISTRY_KEY))
Microsoft.Build.Tasks.Core (9)
BootstrapperUtil\Util.cs (8)
88s_defaultPath = ReadRegistryString(Registry.LocalMachine, String.Concat(BOOTSTRAPPER_REGISTRY_PATH_BASE, BOOTSTRAPPER_REGISTRY_PATH_VERSION_VS2010), REGISTRY_DEFAULTPATH); 94s_defaultPath = ReadRegistryString(Registry.LocalMachine, String.Concat(BOOTSTRAPPER_WOW64_REGISTRY_PATH_BASE, BOOTSTRAPPER_REGISTRY_PATH_VERSION_VS2010), REGISTRY_DEFAULTPATH); 132string defaultPath = ReadRegistryString(Registry.LocalMachine, BOOTSTRAPPER_REGISTRY_PATH_BASE, REGISTRY_DEFAULTPATH); 138defaultPath = ReadRegistryString(Registry.LocalMachine, BOOTSTRAPPER_WOW64_REGISTRY_PATH_BASE, REGISTRY_DEFAULTPATH); 144defaultPath = ReadRegistryString(Registry.LocalMachine, String.Concat(BOOTSTRAPPER_REGISTRY_PATH_BASE, visualStudioVersion), REGISTRY_DEFAULTPATH); 150defaultPath = ReadRegistryString(Registry.LocalMachine, String.Concat(BOOTSTRAPPER_WOW64_REGISTRY_PATH_BASE, visualStudioVersion), REGISTRY_DEFAULTPATH); 168RegistryKey bootstrapperBaseRegKey = Registry.LocalMachine.OpenSubKey(BOOTSTRAPPER_REGISTRY_PATH_BASE); 171bootstrapperBaseRegKey = Registry.LocalMachine.OpenSubKey(BOOTSTRAPPER_WOW64_REGISTRY_PATH_BASE);
ManifestUtil\Util.cs (1)
295RegistryKey key = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", false);
Microsoft.Build.Tasks.UnitTests (3)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (3)
2522return Registry.LocalMachine; 2666if (baseKey == Registry.LocalMachine) 2866if (baseKey == Registry.LocalMachine)
MSBuildTaskHost (1)
NativeMethods.cs (1)
612using (RegistryKey fileSystemKey = Registry.LocalMachine.OpenSubKey(WINDOWS_FILE_SYSTEM_REGISTRY_KEY))
PresentationCore (4)
MS\Internal\FontCache\FontSourceCollection.cs (1)
142using (RegistryKey fontsKey = Registry.LocalMachine.OpenSubKey(InstalledWindowsFontsRegistryKey))
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
319RegistryKey regkey = Registry.LocalMachine;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
331featureKey = Registry.LocalMachine.OpenSubKey(RegistryKeys.WPF_Features);
System\Windows\Diagnostics\VisualDiagnostics.cs (1)
349RegistryKey key = Registry.LocalMachine.OpenSubKey(c_devmodeRegKey);
PresentationFramework (5)
MS\Internal\AppModel\AssemblyFilter.cs (2)
80featureKey = Registry.LocalMachine.OpenSubKey(KILL_BIT_REGISTRY_LOCATION); 89featureKey = Registry.LocalMachine.OpenSubKey($@"{KILL_BIT_REGISTRY_LOCATION}\{assemblyName}");
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
331featureKey = Registry.LocalMachine.OpenSubKey(RegistryKeys.WPF_Features);
System\Windows\Documents\RtfToXamlReader.cs (1)
3704RegistryKey rk = Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes");
System\Windows\Documents\Serialization\SerializerProvider.cs (1)
236private static readonly RegistryKey _rootKey = Registry.LocalMachine;
SignalR.Client.FunctionalTestApp (1)
src\SignalR\common\Shared\TestCertificates.cs (1)
18var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion");