Fetching data from URL and saving in a seperate text file
I'm trying to create an application for windows phone 8. I want the app to fetch XML data from a URL and download that data and save it to a separate text file that I created in the local storage. Can please someone provide me with the code? References are welcome too.