Hi,
Can any one tell me how to zip a file programaticalli using c#...
Suraj
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
stewart johnsonPosted Jan 4, 2007, 10:04 AM
http://www.icsharpcode.net/OpenSource/SharpZipLib/
Suraj RaiPosted Jan 4, 2007, 10:02 AM
Scott LyslePosted Jan 4, 2007, 9:48 AM
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