提取7zip的在C#codezip、code

由网友(污味小仙女✔)分享简介:我需要使用7zip的在C#。如果没有控制台,只需用7zSharp.dll?+我在这里找到了一些数据I need use 7zip in C#. Without console, just with 7zSharp.dll ?+ I find some data hereHTTP://7zsharp.$c$cple...

我需要使用7zip的在C#。如果没有控制台,只需用7zSharp.dll? +我在这里找到了一些数据

I need use 7zip in C#. Without console, just with 7zSharp.dll ? + I find some data here

HTTP://7zsharp.$c$cplex.com/releases/view/ 10305 ,

但我不知道如何使用它( - 我可以创建.BAT(.CMD)文件,但我需要throught dll文件) 正是:我需要解压.7z文件键)

but I don't know how to use it( - I could create .bat(.cmd) file, but I need throught dll file) Exactly: I need extract .7z file with key)

推荐答案

7zip的的作者提供 LZMA SDK 和良好的文档应该是能够实现你想要的。该SDK包括C#code能够融为一体pression / DECOM pression。

The authors of 7zip provide the LZMA SDK and good documentation which should be able to achieve what you want. The SDK includes C# code capable of compression / decompression.

另一种选择是使用像 C#(.NET)接口7-Zip文件的DLL

更新: 另一位用户问过类似的问题在这里:如何创建7- ZIP档案与.NET?的答案有几个我所提供的相同的链接和几个。

UPDATE: Another user asked a similar question here: How do I create 7-Zip archives with .NET? The answer has several of the same links I provided and a few more.

阅读全文

相关推荐

最新文章