Is there a way to convert any possible string value to hex in VB.net.
For instance, I've tried this:
Convert.ToInt32("hello", 16)
But this throws an error saying "Could not find any recognizable digits".
I would like it to return 68656c6c6f
, which is a hex representation of the characters in the string.