If you mean a HEX number in general, the image shows a Sony remote sending 0x05 to the receiver whose address is 0x01.
If you mean a HEX number like A6E654CD, then no doubt you can, your first post says so.
To find out how to do it and what to do with the number once you've got it, you'll have to study the library files.
I don't know.