How do you get a byte array out of a string in C#? I would like to pass a string to this method.
Encoding.GetBytes method.
Encoding.GetBytes