I am having a input stream which is generated when I upload a file(XML Type). I need the XML data at code behind. I am having the xml data in string by using
StreamReader stream = new StreamReader(Request.InputStream);
string x = stream.ReadToEnd();
It also contains the following data at the start of the string
Content-Disposition: form-data; name="MyFile"; filename="Test 123.vfc"
at the end of the string
This data is not required for me.
Please help me in getting the right XML String.