Converting different registry value types to string?
Posted
by Tom
on Stack Overflow
See other posts from Stack Overflow
or by Tom
Published on 2010-06-01T06:35:29Z
Indexed on
2010/06/01
6:43 UTC
Read the original article
Hit count: 177
c#
Hi, im traversing through the registry, taking the values of the keys and storing them as strings. I have discovered there are many different types. Some of these types are causing my filestream writer to fail. Is it possible to convert all of the below into a string form. The actual data value is not important, just the ability to differentiate between different values.
- DWORD
- ExpandString
- Binary (is this just the same as byte[] ?)
- MultiString
© Stack Overflow or respective owner