Correct syntax for values in registry key

Topics: Archive - General
Feb 4, 2015 at 2:14 PM
Edited Feb 4, 2015 at 2:16 PM
What is the correct syntax for setting a Binary value in a registry key.
I found:
([Byte[]](0xae,0x00,0xee))
on the Intertubes?
Is that the best/only way?
I also found out that DWord accepts '0' or '1', but wants '0x0000000a' for any other value. Once again, is this the best/only way to input DWord values?