byte数组转换成文件保存到本地 var ms=new MemoryStream(byte[] bytes); using(var fs=new FileStream(路径 例如:"D:\image\myimage.jpg")) { ms.writeto(fs); }