标签:style blog http color ar sp div on art
Stream reader = null; //可能是外部链接 if (imgUrl.ToLower().StartsWith("http://")) { var request = System.Net.WebRequest.Create(imgUrl); var response = request.GetResponse(); reader = response.GetResponseStream(); } else { reader = new FileStream( System.Web.HttpContext.Current.Server.MapPath( imgUrl ), FileMode.Open ); }
标签:style blog http color ar sp div on art
原文地址:http://www.cnblogs.com/xiaoduanboke/p/4070842.html