Shaireen
Shaireen

Reputation: 3703

How can i compress and decompress .bz2 file in c#?

I want to decompress .bz2 file into .mdb extension and vice-versa through code. Can someone share how to do it through code?

Upvotes: 1

Views: 4450

Answers (2)

Donal Lafferty
Donal Lafferty

Reputation: 5966

Try Nuget

Note that .bz2 corresponds to bzip2 format, which explains the query in the link above.

Upvotes: 0

Austin Salonen
Austin Salonen

Reputation: 50215

SharpZipLib supports BZip2 files. You should be able to use their examples to get what you need.

Upvotes: 5

Related Questions