I am calling a third party service and they send the response as Xml. However, as I am using WebClient to call the service the response I get is a byte array.
var client = new WebClient();
var result = client.UploadValues(post_url, data);
result is a byte array. How do I convert it to XML to read the response given by the third party service?
Use a
MemoryStream: