c# copy base string 64 to memory strem code example Example: base64 string to byte array c# byte[] l_Data = Convert.FromBase64String(l_PlainText);