c#怎么发送http请求

2025-05-20 13:20:05
推荐回答(1个)
回答1:

可以使用WebClient ,从例如:

WebClient client = new WebClient();
string html = client.DownloadString("http://www.baidu.com");