I got this problem regarding storing array of bytes (Length=589824) inside an XML document.
i tried using a memory stream and it did not work.
i also tried the following lines of code:
the result was an empty string resulting inside the XML.
NOTE: i tried the above functions on a smaller array of bytes (length = 54) and it worked.
so please anyone who has the answer i will appreciate it.