方法1:
Byte[] pageData2 = webclient2.DownloadData("http://rwf2002.cn.alibaba.com/athena/contact/rwf2002.html");
方法2:
HttpWebRequest webrequest = (HttpWebRequest)HttpWebRequest.Create("http://rwf2002.cn.alibaba.com/athena/contact/rwf2002.html");
HttpWebResponse webresponse = (HttpWebResponse)webrequest.GetResponse();
我试了常用的这两种方法,都不管用,请问具体原因是什么? 怎么用C# 解决不让看源文件的问题?
求高手解答~~谢谢了~~
Byte[] pageData2 = webclient2.DownloadData("http://rwf2002.cn.alibaba.com/athena/contact/rwf2002.html");
方法2:
HttpWebRequest webrequest = (HttpWebRequest)HttpWebRequest.Create("http://rwf2002.cn.alibaba.com/athena/contact/rwf2002.html");
HttpWebResponse webresponse = (HttpWebResponse)webrequest.GetResponse();
我试了常用的这两种方法,都不管用,请问具体原因是什么? 怎么用C# 解决不让看源文件的问题?
求高手解答~~谢谢了~~
webclient2.UseDefaultCredentials
webclient2.Proxy
silverlight确实看不到 html ,不过silverlight也是要把程序集下载下来的,一样能看到代码。