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