Hi,
Can any one tell me how to zip a file programaticalli using c#...
Suraj
Programatically Zipping a file
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Scott LysleRank #49 · 31K reputationPosted Jan 4, 2007, 4:48 AM EST
Assuming that you are using 2005, check your help files under 'compression'; there is a complete example:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxsamples/local/samplehtmlsources/Applications/CompressionSample/CS/Compression/CompressionForm.cs.htm
Suraj Rai93 reputationPosted Jan 4, 2007, 5:02 AM EST
stewart johnson2 reputationPosted Jan 4, 2007, 5:04 AM EST
http://www.icsharpcode.net/OpenSource/SharpZipLib/