RegistryValueKind
Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.
Binary = 3
Binary data in any form. This value is equivalent to the Windows API registry data type REG_BINARY.
DWord = 4
A 32-bit binary number. This value is equivalent to the Windows API registry data type REG_DWORD.
ExpandString = 2
A null-terminated string that contains unexpanded references to environment variables, such as %PATH%, that are expanded when the value is retrieved. This value is equivalent to the Windows API registry data type REG_EXPAND_SZ.
MultiString = 7
An array of null-terminated strings, terminated by two null characters. This value is equivalent to the Windows API registry data type REG_MULTI_SZ.
None = -1
No data type.
QWord = 11
A 64-bit binary number. This value is equivalent to the Windows API registry data type REG_QWORD.
String = 1
A null-terminated string. This value is equivalent to the Windows API registry data type REG_SZ.
Unknown = 0
An unsupported registry data type. For example, the Microsoft Windows API registry data type REG_RESOURCE_LIST is unsupported. Use this value to specify that the SetValue method should determine the appropriate registry data type when storing a name/value pair.