[已关闭问题]
关闭于 2008-02-02 05:21
程序中通过webclient来获取web页面内容: <BR> Dim MyClient As New System.Net.WebClient <BR> Dim Urlstr As String="http://www.sina.com.cn" '页面地址 <BR> Dim response As System.IO.Stream <BR> Dim SrReadToEnd As System.IO.StreamReader <BR> <BR> response = MyClient.OpenRead(Urlstr) <BR> SrReadToEnd = New System.IO.StreamReader(response, System.Text.Encoding.Default) <BR> While SrReadToEnd.Peek <> -1 <BR> '遍历网页内容 <BR> End While <BR>现在如果要通过代理服务器访问的话,该怎么搞?感谢各位大侠指教!