1.下载print2flash3 并且安装print2flash3 2.转换工具类 (1)需要导入using Print2Flash3; 这个程序集 using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlContr…
public static byte[] ReadFile(string fileName) { if (!File.Exists(fileName)) { throw new Exception("文件为空"); } ]; try { using (FileStream pFileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read)) { BinaryReader r = new BinaryReader(…