Click here to Skip to main content
15,915,702 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to zip my photo folder with password

how to zip folder?

i do zip files which is exist in folder but i cant zip folder.
Posted

You should be able to do this via the GZipStream class[^].
Here[^] is a sample that demonstrates this approach.
 
Share this answer
 
v2
Comments
Espen Harlinn 27-Mar-12 9:27am    
Nice reply :-D
Abhinav S 27-Mar-12 9:32am    
Thank you.
Member 8190163 20-Nov-13 7:27am    
xdcdcd
Sergey Alexandrovich Kryukov 27-Mar-12 17:27pm    
My 5. Please see two more libraries I referenced in my answer.
--SA
Abhinav S 27-Mar-12 22:50pm    
Thank you.
Look at these two libraries for .NET:

Open-Source DotNetZip library, http://dotnetzip.codeplex.com/[^].

A .NET Wrapper for the famous 7-zip is offered in this CodeProject article, "Best C# article of June 2008" prize winner: C# (.NET) Interface for 7-Zip Archive DLLs[^].

—SA
 
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