WebRequest.GetResponse returns a response to an Internet request.
Imports System.IO
Imports System.Net
Imports System.Text
publicclass MainClass
Shared Sub Main()
Dim myWebRequest As WebRequest = WebRequest.Create("http://www.domain.com")
Console.WriteLine(myWebRequest.Timeout)
myWebRequest.Timeout = 10000
Dim myWebResponse As WebResponse = myWebRequest.GetResponse()
End Sub
End Class