本文实例讲述了C#远程获取图片文件流的方法。分享给大家供大家参考,具体如下:
protected void Page_Load(object sender, EventArgs e)
{
WebRequest myrequest = WebRequest.Create(http://huoche.7234.cn/images/jb51/ceaqyoj3xbb.jpg);
WebResponse myresponse = myrequest.GetResponse();
Stream imgstream = myresponse.GetResponseStream();
S
1