//namespace
using System.Net;
string fileLocation = "http://site/file.txt"; ( could also be a xml file )
WebClient client = new WebClient();
Stream stream = client.OpenRead(fileLocation);
StreamReader reader = new StreamReader(stream);
String content = reader.ReadToEnd();