Imports System.Net
Imports System.IO
Public Class MainClass
Public Shared Sub Main()
Dim PageRequest As HttpWebRequest = WebRequest.Create("www.google.com")
Dim PageResponse As WebResponse = PageRequest.GetResponse()
Dim PageReader As New StreamReader(PageResponse.GetResponseStream())
Dim PageString As String = PageReader.ReadToEnd()
PageReader.Close()
System.Console.WriteLine(PageString)
End Sub
End Class