Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
Dear Sir this is Hem Raj Thakur.

I want to create a zip folder for download of multiple files at the same time. So how can I create a zip folder using C#.

Thanks in advance!
Posted
Updated 26-Nov-17 4:14am
v3
Comments
Manfred Rudolf Bihy 31-Aug-12 1:13am    
Hello Raj, the users of this site help others on their own time. There is no use of adding "This is urgent, answer immediately!" It is even considered rude to do so.

Regards,

Manfred
pramod.hegde 31-Aug-12 1:20am    
Use GZip library.

GZipStream[^] will not help you since this class only allows one to zip a single file. You might want to check out the library SharpZipLib[^]. It is free an can be downloaded here[^].

  • Assemblies for .NET 1.1, .NET 2.0 (3.5, 4.0), .NET CF 1.0, .NET CF 2.0: Download [237 KB]
  • Source code and samples Download [708 KB]
  • Help file Download [1208 KB]


Regards,

— Manfred
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900