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