|
-
Apr 3rd, 2008, 02:15 PM
#1
[2008] Writing binary data to the registry
so yeah, I am trying to create/overwrite the data in a registry key that is of type "REG_BINARY" and I cant quite figure out how to write the data in my program thats going to be written into it.
Bit of background info, I'm making a small GUI that installs the remote control program 'VNC' on remote PCs. One part of the installation needs to write the password to connect to VNC on that machine to the registry. Now on my PC, where VNC is already installed, there is some data in the Password value that looks like this: DA 42 47 27 F9 14 98 and the type of the value is REG_BINARY. This value is encrypted by the VNC program when the user sets it, and I have a program that encrypts data using the same algorithm, but it outputs data in a txt file and this is what the txt file contains:
\registry\machine\software\orl\winvnc3\default
Password = REG_BINARY 0x00000008 0x0a6d14c7 0x081e2e08
So does anyone know how I can convert and write that data into the type of data that the registry type REG_BINARY is expecting? Sorry if this isnt really a VB.NET related question, I have trawled the internet for hours but dont really know what to search for so if someone could even just point me in the correct direction I would be very grateful
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|