I am making an app in visualstudios's VB to autoinstall the printer in windows. Problem is, that the printer needs a login and pass. I found registry entry, where this is stored, but the password is stored in REG_BINARY
format.
Here is how it looks after manually writing the password into printer settings - see UserPass:
Please could you tell me how to convert password (in string) into the reg_binary (see attachement - red square)?
The password in this case was 09882
and it has been stored as 98 09 e9 4c c3 24 26 35 14 6f 83 67 8c ec c4 90
. Is there any function in VB to convert 09882
into this REG_BINARY
format please?