Imports System.IO
Imports System.Net
Imports System.Text
public class MainClass
Shared Sub Main()
Dim myUri As New Uri("http://www.domain.com")
Dim myWebRequest As WebRequest = WebRequest.Create(myUri)
Dim myWebResponse As WebResponse = myWebRequest.GetResponse()
End Sub
End Class