在vb.net中读取PKZip密码保护的文件 [英] Reading a PKZip password protected file in vb.net

查看:72
本文介绍了在vb.net中读取PKZip密码保护的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..我目前正在研究一个项目,该项目将读取/打开一个受密码保护的PKZip文件.压缩文件的大小范围可以从1mb到3GB以上.我在VB.net中编写了一个代码(有点像文本编辑器),该代码将允许用户打开zip文件.我尝试使用Readblock打开1gb文本文件(未压缩).我不确定如何解压缩文件而不提取文件.是否可以在不解压缩的情况下读取zip文件?任何帮助将不胜感激.

Hi .. I''m currently working on a project that will read/open a password protected PKZip file. The zip files can range from 1mb to over 3GB in size. I am writing a code (kind of like a text editor) in VB.net that will let users open the zip file. I tried opening a 1gb text file (not zipped) using Readblock. I''m not sure how to do the same with a zipped file without extracting the file. Is it possible to read a zip file without extracting it? Any help will be appreciated. Thanks!

推荐答案

This project offers wrapper classes for SharpZipLib and DotNetZip, as well as an example project and instructions on how to use it all. Using either free library and it''s wrapper class would make this easy.

- Pete


这篇关于在vb.net中读取PKZip密码保护的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆