请求 图片地址,把图片给弄下来
方法1:
WebClient client = new WebClient();
byte[] buffer=sclient.DownloadData(imageUrl);
拿到buffer,下面就好弄了吧
方法2:
WebRequest request = WebRequest.Create(imageUrl);
WebResponse response = request.GetResponse();
if(response!= null){
Stream stream = response.GetResponseStream();
byte[] buffer = stream.ToArrary();s
}