C#中的Bz2解压缩 [英] Bz2 Decompression in C#

查看:221
本文介绍了C#中的Bz2解压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找有关如何解压缩bz2文件的示例。我通过SSIS包中的控制流下载了该文件,我想使用一些C#代码启动脚本任务来解压缩下载的bz2文件。 .net随附的解压缩库似乎无法处理bz2文件。有人可以告诉我可能的暗示吗?还是将我定向到将bz2文件解压缩到指定文件夹的示例?

Im looking for an example of how to decompress a bz2 file. I download the file via a control flow in an SSIS package, I would like to kick off a Script Task using some C# code to decompress the downloaded bz2 file. It doesn't seem that the decompression library that comes with .net handles bz2 files. Could someone show me an implimentation that could? or direct me to an example of decompressing a bz2 file to a specified folder?

推荐答案

7-zip 带有bzip2支持(以及许多其他格式)和C#包装器。

7-zip comes with bzip2 support (and many many more formats) and a C# wrapper.

这篇关于C#中的Bz2解压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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