我对此代码有一些问题
Webclient wc= new WebClient();
wc.DownloadStringCompleted += new DownloadStringCompletedEventHandler(wc_DownloadStringCompleted);
wc.DownloadStringAsync(new Uri("http://tv.csmtalk.vn"));
void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
{
MessageBox.Show(e.Result);
}
某些网站如"google.com.vn"
结果很不错。但是当我使用网站"tv.csmtalk.vn"
时,结果一无所获。但Chrome,Firefox,IE中的viewsource都可以。
任何人都可以帮助我吗?