I am trying to write a password to the registry using the following
Registry.SetValue(HKEY_CURRENT_USER, "Software\\setup\\pass", "Password", SessionVar.Expand("%Password%"), REG_BINARY);
But when i look at the registry it shows the following
Name Type Data
Password REG_BINARY 56
password that has been entered is seen as being incorrect
can any one tell me where i am going wrong ?
Thanks in advance

