Vb.net 下载URL的源代码作为字符串
我希望我的代码下载网站的源代码/html,并以字符串形式存储。 比如说 Dim source as string=html的网站应该可以Vb.net 下载URL的源代码作为字符串,vb.net,Vb.net,我希望我的代码下载网站的源代码/html,并以字符串形式存储。 比如说 Dim source as string=html的网站应该可以 Dim thesource As String = New System.Net.WebClient().DownloadString("http://the site u wanna look@")
Dim thesource As String = New System.Net.WebClient().DownloadString("http://the site u wanna look@")