多线程调用WebClient速度变慢的问题
设置 System.Net.ServicePoint 对象所允许的最大并发连接数
System.Net.ServicePoint 对象允许的最大并发连接数。默认值为 2
System.Net.ServicePointManager.DefaultConnectionLimit = 512;
设置 System.Net.ServicePoint 对象所允许的最大并发连接数
System.Net.ServicePoint 对象允许的最大并发连接数。默认值为 2
System.Net.ServicePointManager.DefaultConnectionLimit = 512;