c#在档案中打开目录(SharpCompress) [英] c# Open directory in archive (SharpCompress)
本文介绍了c#在档案中打开目录(SharpCompress)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在档案馆中打开一个目录(zip,rar等)。但我不知道该怎么做。我已经尝试过entry.OpenEntryStream,但它不起作用。
另外,"c:\ example \ example.zip \ folder"不工作。
那么我该怎么做?
谢谢你:)
Hi, i want to open a directory in archive (zip, rar, etc). But i do not know how to do this. I already tried entry.OpenEntryStream, but it does not work.
Also, "c: \ example \ example.zip \ folder" do not work.
So how do i do this?
Thanks you :)
推荐答案
Zip和Rar是不同的文件,因此您需要使用不同的API来读取文件并将其解压缩。
Zip and Rar are different files so that you need to use different APIs to read the file and extract them.
请参阅以下类似的线程用于您的目的:
Please refer to the following similar threads for your purpose:
问候,
Stanly
这篇关于c#在档案中打开目录(SharpCompress)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文