Just so I don’t forget, here is how to convert a string to a byte array:
System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
encoding.GetBytes(yourStringHere)