72 references to GetValue
IIS.FunctionalTests (1)
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (1)
29var value = key.GetValue("EnableHttp3");
Microsoft.AspNetCore.DataProtection (15)
RegistryPolicyResolver.cs (14)
46var sinksFromRegistry = (string?)key.GetValue("KeyEscrowSinks"); 81var encryptionType = (string?)policyRegKey.GetValue("EncryptionType"); 101var defaultKeyLifetime = (int?)policyRegKey.GetValue("DefaultKeyLifetime"); 117var valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.EncryptionAlgorithm)); 123valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.EncryptionAlgorithmProvider)); 129valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.EncryptionAlgorithmKeySize)); 135valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.HashAlgorithm)); 141valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.HashAlgorithmProvider)); 153var valueFromRegistry = key.GetValue(nameof(CngGcmAuthenticatedEncryptorConfiguration.EncryptionAlgorithm)); 159valueFromRegistry = key.GetValue(nameof(CngGcmAuthenticatedEncryptorConfiguration.EncryptionAlgorithmProvider)); 165valueFromRegistry = key.GetValue(nameof(CngGcmAuthenticatedEncryptorConfiguration.EncryptionAlgorithmKeySize)); 177var valueFromRegistry = key.GetValue(nameof(ManagedAuthenticatedEncryptorConfiguration.EncryptionAlgorithmType)); 183valueFromRegistry = key.GetValue(nameof(ManagedAuthenticatedEncryptorConfiguration.EncryptionAlgorithmKeySize)); 189valueFromRegistry = key.GetValue(nameof(ManagedAuthenticatedEncryptorConfiguration.ValidationAlgorithmType));
Repositories\RegistryXmlRepository.cs (1)
131var data = regKey.GetValue(valueName) as string;
Microsoft.AspNetCore.DataProtection.Tests (2)
Repositories\RegistryXmlRepositoryTests.cs (2)
70var parsedElement = XElement.Parse(regKey.GetValue(valueName) as string); 102var parsedElement = XElement.Parse(regKey.GetValue(valueName) as string);
Microsoft.AspNetCore.InternalTesting.Tests (4)
MaximumOSVersionTest.cs (2)
44var currentVersion = (string)versionKey.GetValue("CurrentBuildNumber"); 57var currentVersion = (string)versionKey.GetValue("CurrentBuildNumber");
MinimumOSVersionTest.cs (2)
43var currentVersion = (string)versionKey.GetValue("CurrentBuildNumber"); 56var currentVersion = (string)versionKey.GetValue("CurrentBuildNumber");
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (1)
29var value = key.GetValue("EnableHttp3");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
src\SignalR\common\Shared\TestCertificates.cs (2)
19var major = key.GetValue("CurrentMajorVersionNumber") as int?; 20var minor = key.GetValue("CurrentMinorVersionNumber") as int?;
Microsoft.Build (3)
Evaluation\IntrinsicFunctions.cs (1)
306result = subKey.GetValue(valueName);
FrameworkLocationHelper.cs (1)
1112return subKey?.GetValue(registryKeyName)?.ToString();
Utilities\RegistryKeyWrapper.cs (1)
115return Exists() ? WrappedKey.GetValue(name) : null;
Microsoft.Build.CommandLine.UnitTests (1)
RegistryHelper.cs (1)
51value = (string?)key.GetValue("");
Microsoft.Build.Engine (4)
Engine\IntrinsicFunctions.cs (1)
210result = subKey.GetValue(valueName);
Engine\RegistryKeyWrapper.cs (1)
100return Exists() ? WrappedKey.GetValue(name) : null;
Shared\FrameworkLocationHelper.cs (1)
437object keyValue = baseKey.GetValue(registryKeyName);
Solution\VCWrapperProject.cs (1)
317string rootDir = (string)subKey.GetValue(valueName);
Microsoft.Build.Framework (1)
EncodingUtilities.cs (1)
306string? buildNumber = windowsVersionRegistry?.GetValue("CurrentBuildNumber")?.ToString();
Microsoft.Build.Tasks.Core (8)
BootstrapperUtil\Util.cs (2)
183string path = (string)additionalPackagePathsRegKey.GetValue(key); 214object oValue = subKey?.GetValue(registryValue);
ManifestUtil\ComImporter.cs (3)
230registeredPath = (string)subKey.GetValue(null); 231threadingModel = (string)subKey.GetValue("ThreadingModel"); 237progid = (string)subKey.GetValue(null);
ManifestUtil\SecurityUtil.cs (1)
936versionIndependentToolPath = versionIndependentToolKey.GetValue("Path") as string;
ManifestUtil\Util.cs (1)
298string org = (string)key.GetValue("RegisteredOrganization");
RegistryHelper.cs (1)
51value = (string?)key.GetValue("");
Microsoft.Build.Utilities.Core (2)
RegistryHelper.cs (1)
51value = (string?)key.GetValue("");
ToolLocationHelper.cs (1)
2732platformSDKDirectory = versionKey.GetValue("InstallationFolder") as string;
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Interaction.vb (1)
387o = rk.GetValue(sName)
PresentationCore (12)
MS\Internal\FontCache\FontSourceCollection.cs (1)
149string fileName = fontsKey.GetValue(fontValue) as string;
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
326path = recognizerKey.GetValue(GestureRecognizerValueName) as string;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (2)
335obj = featureKey.GetValue(regValue); 352obj = featureKey.GetValue(regValue);
System\Windows\Diagnostics\VisualDiagnostics.cs (1)
355object obj = key.GetValue(c_devmodeValueName);
System\Windows\Input\Stylus\Common\StylusLogic.cs (5)
355obj = stylusKey.GetValue(WispDoubleTapDistanceValue); 358obj = stylusKey.GetValue(WispDoubleTapTimeValue); 361obj = stylusKey.GetValue(WispCancelDeltaValue); 369obj = touchKey.GetValue(WispTouchDoubleTapDistanceValue); 373obj = touchKey.GetValue(WispTouchDoubleTapTimeValue);
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (1)
110valDefault = key.GetValue("");
System\Windows\Input\TextCompositionManager.cs (1)
907obj = key.GetValue("EnableHexNumpad");
PresentationFramework (10)
MS\Internal\AppModel\AssemblyFilter.cs (1)
90object keyValue = featureKey.GetValue(SUBKEY_VALUE);
MS\Internal\IO\Packaging\PackageFilter.cs (3)
531return (string)iFilterIidKey.GetValue(null); 568string extension = (string)mimeTypeKey.GetValue(_extension); 592return (persistentHandlerKey == null ? null : (string)persistentHandlerKey.GetValue(null));
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (2)
335obj = featureKey.GetValue(regValue); 352obj = featureKey.GetValue(regValue);
System\Windows\Application.cs (1)
2294soundFile = (string)(soundKey.GetValue(""));
System\Windows\Documents\RtfToXamlReader.cs (1)
3710string value = (string)rk.GetValue(name);
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
41string result = key.GetValue(value) as string;
System\Windows\Markup\RestrictiveXamlXmlReader.cs (1)
52object value = xpsDangerKey.GetValue(typeName);
PresentationUI (3)
MS\Internal\Documents\RightsManagementProvider.cs (2)
404object keyValue = defaultRMKey.GetValue(_registryValueNameForAccountName); 411keyValue = defaultRMKey.GetValue(_registryValueNameForAccountType);
MS\Internal\Documents\RMPublishingDialog.cs (1)
339object keyValue = defaultRMKey.GetValue(_registryValueNameForRMTemplatePath);
SignalR.Client.FunctionalTestApp (2)
src\SignalR\common\Shared\TestCertificates.cs (2)
19var major = key.GetValue("CurrentMajorVersionNumber") as int?; 20var minor = key.GetValue("CurrentMinorVersionNumber") as int?;