public static byte[] ToByteArray(this string text) { return System.Text.Encoding.Default.GetBytes(text); }