Create a Zip File from a folder

sathya.cs

Active member
Joined
May 24, 2009
Messages
31
Programming Experience
Beginner
I m creating an encryption based application using RijndaelManaged.How to encrypt a folder and prodice a single output file like winrar or winzip?
 
For example use this zip library DotNetZip Library
Zipping a folder with password encryption:
VB.NET:
Using zip As New Ionic.Zip.ZipFile("C:\dir1.zip")
    zip.Password = "test"
    zip.AddDirectory("C:\dir1")
    zip.Save()
End Using
 
Back
Top