The online racing simulator
[OT] .NET URI-Compatibile FileStream-esque function?
I'm simply looking for a function or similar that I can point towards a URL, and receive the output from the page (my script on my web server is just in plain text, nothing fancy) back to the program.

I've had a look around MSDN and Googled high and low, but I can't find what I need to do the job. Do any of our resident .NET experts have any ideas?

Much appreciated
If you just want to download the source from a web page then something like this should do the trick:

using System;
using System.IO;
using System.Net;
using System.Text;

class Program
{
static void Main()
{
string url = "http://www.lfs.net/";

WebRequest request = WebRequest.Create(url);
WebResponse response = request.GetResponse();

StreamReader reader = new StreamReader(
response.GetResponseStream(),
Encoding.GetEncoding("utf-8"));

Console.WriteLine(reader.ReadToEnd());

reader.Close();
response.Close();
}
}

I wrote it quickly, but it works. If you run it, it writes out the source code for LFS.net to the console window. It's not perfect but it should give you a general idea of how to do it.
Thanks, it works an absolute charm

FGED GREDG RDFGDR GSFDG