摘要: PDF创建版本获取可以通过解析文件流中的前几个字节获得。 Stream st = File.OpenRead(@"C:\Users\Administrator\Desktop\大话设计模式.pdf"); byte[] files = new byte[100]; st.Read(files, 0, 100); string str_content = ASCIIEncoding.ASCII.GetString(files, 0, 100); //获取文件版本信息 string str_... 阅读全文
posted @ 2014-03-05 14:38 无晴雪 阅读(748) 评论(0) 推荐(0) 编辑