Top "Dotnetzip" questions

Questions dealing with the DotNetZip open-source zip library for .NET

Creating Zip file from stream and downloading it

I have a DataTable that i want to convert it to xml and then zip it, using DotNetZip. finally user …

c# asp.net zip stream dotnetzip
Downloading of zip file through ASP.NET MVC using DotNetZip

I have created a text file in a folder and zipped that folder and saved @same location for test purpose. …

c# asp.net-mvc-5 dotnetzip
Extract a ZIP file programmatically by DotNetZip library?

I have a function that get a ZIP file and extract it to a directory (I use DotNetZip library.) public …

c# zip extract dotnetzip
DotNetZip add files without creating folders

using (ZipFile zip = new ZipFile()) { foreach(string file in Directory.GetFiles(folder)) { zip.AddFile(file, Path.GetFileName(file)); } zip.Save("…

c# zip directory dotnetzip
Ionic Zip : Zip file creation from byte[]

Ionic zip allows me to add existing file to zip object and create a zip file. But considering that I …

c# dotnetzip
DotNetZip: How to extract files, but ignoring the path in the zipfile?

Trying to extract files to a given folder ignoring the path in the zipfile but there doesn't seem to be …

c# zip dotnetzip
DotNetZip Saving to Stream

I am using DotNetZip to add a file from a MemoryStream to a zip file and then to save that …

c# dotnetzip
Set password on Zip file using DotNetZip

I'm using DotNetZip to zip my files, but I need to set a password in zip. I tryed: public void …

c# zip password-protection dotnetzip
Add Folders to Root of Zip Using Ionic Zip Library

what I'm trying to do is add a list of folders and files all to the root of my Zip …

c# zip dotnetzip
Using a MemoryStream with FileStreamResult possible?

I'm using DotNetZip to create a zip file and pass it to a FileResult. On debug, I can verify that …

c# asp.net-mvc dotnetzip