I have the following code to obtain an Xml doc from the internet. It works fine. I would like to set a fairly short time out for this but cant seam to find out how. Could somene please help or suggest a different method where I can set the time out ?
Dim reader As Xml.XmlTextReader = New Xml.XmlTextReader(URL)
' Load data into a dataset
Dim GetOddsAll = New DataSet()