I have a directory that contains several files. I want compress this folder to a zip or tar.gz file. How can I do his work in C#?
Another pre-3.5 option is to use the zip utilities from J#. After all, .Net doesn't care what language the code was originally written in ;-).
Articles on how to do this: