/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static byte[] ToByteArray(string str) { return encoding.GetBytes(str); }