98 references to RegistryValueKind
mscorlib (33)
microsoft\win32\registry.cs (2)
165
SetValue(keyName, valueName, value,
RegistryValueKind
.Unknown);
171
public static void SetValue(string keyName, string valueName, object value,
RegistryValueKind
valueKind ) {
microsoft\win32\registrykey.cs (26)
1393
public
RegistryValueKind
GetValueKind(string name) {
1403
return
RegistryValueKind
.None;
1404
else if (!Enum.IsDefined(typeof(
RegistryValueKind
), type))
1405
return
RegistryValueKind
.Unknown;
1407
return (
RegistryValueKind
) type;
1453
SetValue(name, value,
RegistryValueKind
.Unknown);
1458
public unsafe void SetValue(String name, Object value,
RegistryValueKind
valueKind) {
1466
if (!Enum.IsDefined(typeof(
RegistryValueKind
), valueKind))
1478
if (valueKind ==
RegistryValueKind
.Unknown) {
1487
case
RegistryValueKind
.ExpandString:
1488
case
RegistryValueKind
.String:
1500
case
RegistryValueKind
.MultiString:
1537
RegistryValueKind
.MultiString,
1544
case
RegistryValueKind
.None:
1545
case
RegistryValueKind
.Binary:
1550
(valueKind ==
RegistryValueKind
.None ? Win32Native.REG_NONE:
RegistryValueKind
.Binary),
1555
case
RegistryValueKind
.DWord:
1564
RegistryValueKind
.DWord,
1570
case
RegistryValueKind
.QWord:
1577
RegistryValueKind
.QWord,
1605
private
RegistryValueKind
CalculateValueKind(Object value) {
1610
return
RegistryValueKind
.DWord;
1613
return
RegistryValueKind
.Binary;
1615
return
RegistryValueKind
.MultiString;
1620
return
RegistryValueKind
.String;
microsoft\win32\win32native.cs (4)
1865
int Reserved,
RegistryValueKind
dwType, byte[] lpData, int cbData);
1870
int Reserved,
RegistryValueKind
dwType, ref int lpData, int cbData);
1875
int Reserved,
RegistryValueKind
dwType, ref long lpData, int cbData);
1880
int Reserved,
RegistryValueKind
dwType, String lpData, int cbData);
system\security\cryptography\utils.cs (1)
542
else if (fipsAlgorithmPolicyKey.GetValueKind("FIPSAlgorithmPolicy") !=
RegistryValueKind
.DWord)
System (27)
net\System\Net\_DigestClient.cs (1)
753
if (lsaKey.GetValueKind(suppressExtendedProtectionValueName) ==
RegistryValueKind
.DWord) {
net\System\Net\HttpSysSettings.cs (1)
80
if (key.GetValueKind(valueName) ==
RegistryValueKind
.DWord)
net\System\Net\HybridWebProxyFinder.cs (1)
124
if ((fallbackKeyValue != null) && (key.GetValueKind(allowFallbackValueName) ==
RegistryValueKind
.DWord))
net\System\Net\NetRegistryConfiguration.cs (5)
42
object value = ReadConfig(GetNetFrameworkVersionedPath(), configVariable,
RegistryValueKind
.DWord);
60
object value = ReadConfig(GetNetFrameworkVersionedPath(), configVariable,
RegistryValueKind
.String);
80
object value = ReadConfig(GetAppConfigPath(configVariable), GetAppConfigValueName(),
RegistryValueKind
.DWord);
100
object value = ReadConfig(GetAppConfigPath(configVariable), GetAppConfigValueName(),
RegistryValueKind
.String);
109
private static object ReadConfig(string path, string valueName,
RegistryValueKind
kind)
services\monitoring\system\diagnosticts\EventLog.cs (13)
497
logKey.SetValue("Sources", new string[] {logName, source},
RegistryValueKind
.MultiString);
514
logKey.SetValue("Sources", new string[] {logName, source},
RegistryValueKind
.MultiString);
523
logKey.SetValue("Sources", newsources,
RegistryValueKind
.MultiString);
746
key.SetValue("Sources", newsourcesArray,
RegistryValueKind
.MultiString);
1176
logKey.SetValue("MaxSize", DefaultMaxSize,
RegistryValueKind
.DWord);
1178
logKey.SetValue("AutoBackupLogFiles", 0,
RegistryValueKind
.DWord);
1183
logKey.SetValue("Retention", DefaultRetention,
RegistryValueKind
.DWord);
1192
logKey.SetValue("File", filename,
RegistryValueKind
.ExpandString);
1201
sourceLogKey.SetValue("EventMessageFile", GetDllPath(sourceData.MachineName),
RegistryValueKind
.ExpandString);
1203
sourceLogKey.SetValue("EventMessageFile", FixupPath(sourceData.MessageResourceFile),
RegistryValueKind
.ExpandString);
1206
sourceLogKey.SetValue("ParameterMessageFile", FixupPath(sourceData.ParameterResourceFile),
RegistryValueKind
.ExpandString);
1209
sourceLogKey.SetValue("CategoryMessageFile", FixupPath(sourceData.CategoryResourceFile),
RegistryValueKind
.ExpandString);
1210
sourceLogKey.SetValue("CategoryCount", sourceData.CategoryCount,
RegistryValueKind
.DWord);
services\monitoring\system\diagnosticts\EventLogInternal.cs (4)
387
logkey.SetValue("MaxSize", i,
RegistryValueKind
.DWord);
1264
logkey.SetValue("Retention", retentionvalue,
RegistryValueKind
.DWord);
1357
logkey.SetValue("DisplayNameFile", resourceFile,
RegistryValueKind
.ExpandString);
1358
logkey.SetValue("DisplayNameID", resourceId,
RegistryValueKind
.DWord);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (2)
471
serviceKey.SetValue("IsMultiInstance", (int) categoryType,
RegistryValueKind
.DWord);
472
serviceKey.SetValue("CategoryOptions", 0x3,
RegistryValueKind
.DWord);
System.IdentityModel (3)
System\IdentityModel\SecurityUtils.cs (3)
279
RegistryValueKind
valueKind = securityRegKey.GetValueKind(regValueName);
280
if (valueKind ==
RegistryValueKind
.DWord || valueKind ==
RegistryValueKind
.QWord)
System.Security (4)
system\security\cryptography\xml\signedxml.cs (1)
749
if (stringListKey.GetValueKind(value) ==
RegistryValueKind
.String) {
system\security\cryptography\xml\utils.cs (3)
490
RegistryValueKind
valueKind = securityRegKey.GetValueKind(regValueName);
491
if (valueKind ==
RegistryValueKind
.DWord || valueKind ==
RegistryValueKind
.QWord) {
System.Windows.Forms (3)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (3)
1127
RegistryValueKind
kind = key.GetValueKind(wintrustPolicyFlagsRegName);
1128
if (kind ==
RegistryValueKind
.DWord || kind ==
RegistryValueKind
.Binary)
System.Xml (2)
System\Xml\Core\XmlReaderSettings.cs (1)
756
if (xmlRegKey.GetValueKind(regValueName) ==
RegistryValueKind
.DWord)
System\Xml\XmlQualifiedName.cs (1)
202
if (xmlRegKey.GetValueKind(regValueName) ==
RegistryValueKind
.DWord) {
WindowsBase (4)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (3)
235
RegistryValueKind
valueKind = securityRegKey.GetValueKind(regValueName);
236
if (valueKind ==
RegistryValueKind
.DWord || valueKind ==
RegistryValueKind
.QWord)
Base\System\Windows\BaseCompatibilityPreferences.cs (1)
254
&& regKey.GetValueKind(MatchPackageSignatureMethodToPackagePartDigestMethodValue) ==
RegistryValueKind
.DWord)
WsatConfig (11)
Configuration\ClusterRegistryConfigurationProvider.cs (9)
104
byte[] QueryValue(string name,
RegistryValueKind
valueType)
111
RegistryValueKind
type;
146
void WriteValue(string name, byte[] value,
RegistryValueKind
valueType)
166
byte[] buffer = QueryValue(name,
RegistryValueKind
.DWord);
178
WriteValue(name, buffer,
RegistryValueKind
.DWord);
190
byte[] buffer = QueryValue(value,
RegistryValueKind
.String);
217
WriteValue(name, buffer,
RegistryValueKind
.String);
222
byte[] buffer = QueryValue(value,
RegistryValueKind
.MultiString);
263
WriteValue(name, buffer,
RegistryValueKind
.MultiString);
Configuration\ClusterSafeNativeMethods.cs (2)
177
[Out] out
RegistryValueKind
lpdwValueType,
185
[In]
RegistryValueKind
lpdwValueType,
WsatUI (11)
Configuration\ClusterRegistryConfigurationProvider.cs (9)
104
byte[] QueryValue(string name,
RegistryValueKind
valueType)
111
RegistryValueKind
type;
146
void WriteValue(string name, byte[] value,
RegistryValueKind
valueType)
166
byte[] buffer = QueryValue(name,
RegistryValueKind
.DWord);
178
WriteValue(name, buffer,
RegistryValueKind
.DWord);
190
byte[] buffer = QueryValue(value,
RegistryValueKind
.String);
217
WriteValue(name, buffer,
RegistryValueKind
.String);
222
byte[] buffer = QueryValue(value,
RegistryValueKind
.MultiString);
263
WriteValue(name, buffer,
RegistryValueKind
.MultiString);
Configuration\ClusterSafeNativeMethods.cs (2)
177
[Out] out
RegistryValueKind
lpdwValueType,
185
[In]
RegistryValueKind
lpdwValueType,