17 references to SetValue
aspire (1)
Telemetry\WindowsMachineInformationProvider.cs (1)
93
key.
SetValue
(keyName, value, RegistryValueKind.String);
Microsoft.AspNetCore.DataProtection (1)
Repositories\RegistryXmlRepository.cs (1)
156
RegistryKey.
SetValue
(valueName, element.ToString(), RegistryValueKind.String);
Microsoft.Win32.Registry (2)
Microsoft\Win32\Registry.cs (1)
89
key.
SetValue
(valueName, value, valueKind);
Microsoft\Win32\RegistryKey.cs (1)
1230
SetValue
(name, value, RegistryValueKind.Unknown);
System.Diagnostics.EventLog (11)
System\Diagnostics\EventLog.cs (7)
779
logKey.
SetValue
("MaxSize", DefaultMaxSize, RegistryValueKind.DWord);
781
logKey.
SetValue
("AutoBackupLogFiles", 0, RegistryValueKind.DWord);
787
sourceLogKey.
SetValue
("EventMessageFile", GetDllPath(sourceData.MachineName), RegistryValueKind.ExpandString);
789
sourceLogKey.
SetValue
("EventMessageFile", FixupPath(sourceData.MessageResourceFile), RegistryValueKind.ExpandString);
792
sourceLogKey.
SetValue
("ParameterMessageFile", FixupPath(sourceData.ParameterResourceFile), RegistryValueKind.ExpandString);
796
sourceLogKey.
SetValue
("CategoryMessageFile", FixupPath(sourceData.CategoryResourceFile), RegistryValueKind.ExpandString);
797
sourceLogKey.
SetValue
("CategoryCount", sourceData.CategoryCount, RegistryValueKind.DWord);
System\Diagnostics\EventLogInternal.cs (4)
270
logkey.
SetValue
("MaxSize", i, RegistryValueKind.DWord);
1049
logkey.
SetValue
("Retention", retentionvalue, RegistryValueKind.DWord);
1119
logkey.
SetValue
("DisplayNameFile", resourceFile, RegistryValueKind.ExpandString);
1120
logkey.
SetValue
("DisplayNameID", resourceId, RegistryValueKind.DWord);
System.Diagnostics.PerformanceCounter (2)
System\Diagnostics\PerformanceCounterLib.cs (2)
530
serviceKey.
SetValue
("IsMultiInstance", (int)categoryType, RegistryValueKind.DWord);
531
serviceKey.
SetValue
("CategoryOptions", 0x3, RegistryValueKind.DWord);