how to convert base64 string to byte array in c# code example Example: base64 string to byte array c# byte[] l_Data = Convert.FromBase64String(l_PlainText);