[C#] 纯文本查看 复制代码 HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = "https://eservice.7-11.com.tw/E-Tracking/ValidateImage.aspx?ts=1452360814",//URL 必需项
Method = "Get",//URL 可选项 默认为Get
CerPath = "e:\\1.cer",//证书绝对路径 可选项不需要证书时可以不写这个参数
ResultType = ResultType.Byte
};
HttpResult httpResult = http.GetHtml(item);
//获取到的图片
Image im = byteArrayToImage(httpResult.ResultByte);
pictureBox1.Image = im;
代码如上,一直获取不到图片.难道是我打开的方式不对,还是敲代码的姿势不对?
|