看看这段代码: public static void Main() try WebClient client = new WebClient();byte[] data = client.DownloadData("http://website../../..System.Net.FileWebRequest.GetResponseCallback(Object state)
--- End of inner exception stack tr
我正在尝试使用webclient获取pdf文件数据,但是它抛出了的一个异常“远程服务器返回了一个错误:(404)找不到”。Source=System
StackTrace: at System.Net.WebClient.DownloadDataInternal(Uri地址,WebRequest& request) atSystem.Net.WebClient.DownloadData(Uri地址) at System.Net.WebClient.DownloadData(Str
e.ProgressPercentage));class ActiveDownloadJob public DownloadImages.DownloadDataDownloadData; public WebClientWebClient;public ActiveDownloadJob(DownloadImages.<e