二进制传值接收
绝望的ZZK
爱撸铁,爱健身,爱跑步,爱半马,爱美食,爱生活,爱流浪,爱编程,爱加班,不爱美女,乐观,向上,阳光,逗逼,不接盘!单身不可怕,我们有代码!
展开
-
.net调用接口(post)接收二进制文件
//ceShi.NetFramework.Helper.LogHelper.LogSave(string.Format("postdata: {0} url: {1} timeout:{2}", postdata, url, timeout)); System.GC.Collect();//垃圾回收,回收没有正常关闭的http连接 stri...原创 2019-04-22 13:58:18 · 3122 阅读 · 0 评论 -
.net下载文件(下载不是打开)
string fileName = model.rawname; //string path = "~/" + model.path; string filePath = Server.MapPath("~/" + model.path);//路径 //以字符流的形式下载文件 ...原创 2019-04-22 14:08:43 · 295 阅读 · 1 评论