C#使用WebClient下载文件
程序员文章站
2023-12-30 13:21:28
...
using System.Net;
WebClient client = new WebClient();
foreach (var item in list)
{
client.DownloadFile(item.Href, targetDirectory + item.Title + ".mp4");
item.State = "√";
}