Dim wc As New System.Net.WebClient
Dim b() As Byte = wc.DownloadData("http://www.microsoft.com") 'b() will contain the raw data
wc.DownloadFile("http://www.microsoft.com", "c:\test.html") 'c:\test.html will contain data
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.