Reading and writing values in the registry is the same regardless of the format. In the case of REG_BINARY the returned object is of type byte[]. The following code would convert that to a string. You would reverse the process to write it back.
RegistryKey regKey3 = Registry.CurrentUser;
RegistryKey regSub3 = regKey3.OpenSubKey("Software or whatever");
byte[] ans = (byte[])regSub3.GetValue("Value I need");
string sString = System.Text.Encoding.ASCII.GetString(ans);
string [] sArray = sString.Split('\0');
sString = "";
foreach (string s in sArray)
{
sString += s;
}
Now sString should have your string from the reg_binary ready for processing.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles] [My Website]