thndrkiss
thndrkiss

Reputation: 4595

Create tar.gz using .NET

I am new to .NET. Is it possible to create a tar.gz using a .NET environment? If yes, how?

Upvotes: 5

Views: 15048

Answers (3)

Alexander Christov
Alexander Christov

Reputation: 10045

Yes, it is possible.

  1. Create a tar archive using a suitable library, say http://code.google.com/p/tar-cs/.
  2. Then compress the tar using GZipStream class.

Of course, you should be familiar with streams.

Upvotes: 0

Vagaus
Vagaus

Reputation: 4215

I guess you can also use http://sevenziplib.codeplex.com/

Upvotes: 5

Andreas
Andreas

Reputation: 4009

Have a look at SharpZipLib

http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx

Upvotes: 6

Related Questions