110,534
社区成员
发帖
与我相关
我的任务
分享
private void button4_Click(object sender, EventArgs e)
{
int tc = Environment.TickCount;
string sUrl = "http://www.baidu.com/";
//string sUrl = "http://www.tom.com/";
WebClient client = new WebClient();
string s = client.DownloadString(sUrl);
int tc2 = Environment.TickCount;
MessageBox.Show( (tc2-tc).ToString() );
}