I need a sample code how to add binary value in Hex into the registry. I cannnot find more info about microsoft.win32.registrykey. Ive search all over the net but most are for VB 5&6. I need help ASAP.
Dim rk As Microsoft.Win32.RegistryKey
rk = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Software\Test")
Dim b() As Byte = {1, 2, 3, 4, 5, 6}
rk.SetValue("A Value", b)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.