string url = 服务器图片路径;
System.Net.WebRequest webreq = System.Net.WebRequest.Create(url);
System.Net.WebResponse webres = webreq.GetResponse();
using(System.IO.Stream stream = webres.GetResponseStream())
{
Image image = Image.FromStream(stream);
}
C#根据服务器图片地址获取Image对象
最新推荐文章于 2022-09-21 22:30:36 发布