小编Lee*_*ley的帖子

使用C#下载多个网页的最快方法

这是我目前所拥有的(基本)示例:

foreach (var uri in uris)
{
    using (var client = new WebClient())
    {
        client.Proxy = null;
        client.DownloadStringCompleted += DownloadComplete;
        client.DownloadStringAsync(uri);
    }
}
Run Code Online (Sandbox Code Playgroud)

有更快的方法吗?

.net c# performance webclient download

4
推荐指数
1
解决办法
1503
查看次数

标签 统计

.net ×1

c# ×1

download ×1

performance ×1

webclient ×1