not using a webbrowser control (or any control if possible) I am looking for a way to open a html page on a webserver and read its text...

for example, the page would sit at http://www.mysite.com/x.htm

x.htm contains an IP address 192.168.0.1

i want to just read that text into a variable.

I accomplished this using the web browser control and MSHTML reference but I would like to do it without... perhaps using windows sockets or something i am not familiar with?