更新时间:2023-11-07 21:02:22
你应该能够做到这一点是这样的:使用(Web客户端的客户端=新的WebClient())
You should be able to do it like this:
using (WebClient Client = new WebClient ()) { Client.DownloadFile("http://www.mywebsite.com/img.aspx?imgid=12345", "12345.jpg"); }
如何下载使用URL与查询字符串,而不是图像路径的图像?
如何在不重新加载页面的情况下使用javascript/jQuery更新URL或查询字符串?