9 references to GetValue
dotnet (1)
Telemetry\ExternalTelemetryProperties.cs (1)
31
return (string?)Registry.
GetValue
(Key, ValueName, defaultValue: "");
dotnet-aot (1)
src\sdk\src\Cli\dotnet\Telemetry\ExternalTelemetryProperties.cs (1)
31
return (string?)Registry.
GetValue
(Key, ValueName, defaultValue: "");
Microsoft.Build (3)
Evaluation\Expander.PropertyExpander.cs (1)
621
object valueFromRegistry = Registry.
GetValue
(registryKeyName, valueName, null /* default if key or value name is not found */);
Evaluation\IntrinsicFunctions.cs (2)
210
return Registry.
GetValue
(keyName, valueName, null /* null to match the $(Regsitry:XYZ@ZBC) behaviour */);
226
return Registry.
GetValue
(keyName, valueName, defaultValue);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\RegistryProxy.vb (1)
60
Return Registry.
GetValue
(keyName, valueName, defaultValue)
PresentationFramework (2)
System\Windows\ThemeManager.cs (2)
456
var useLightTheme = Registry.
GetValue
(RegPersonalizeKeyPath,
461
useLightTheme = Registry.
GetValue
(RegPersonalizeKeyPath,
System.Windows.Forms (1)
System\Windows\Forms\Application.cs (1)
495
systemColorMode = Math.Abs((Registry.
GetValue
(