SyntaxFix
Write A Post
Hire A Developer
Questions
This has been answered quite a lot, but for me, the only working method is this one:
public static byte[] StringToByteArray(string str) { byte[] array = Convert.FromBase64String(str); return array; }