[return: System.Xml.Serialization.XmlElementAttribute("return", DataType="base64Binary")]
public byte[] get(...)
I am trying to get a xml(utf-8) from this webservice. I have tried multiple things to try and get the xml out of the byte array like:
stream
encoding
decoder
converter
[Extra info] When decoding the byte array with Encoding.UTF8.GetString(bytes) I get a string with strange signs and symbols but also with some text Starting with: %PDF-1.4
[SOLUTION] Writing the byte array to a pdf file makes it readable.