Ionic.Zip.ZipOutputStream.ZipOutputStream C# (CSharp) Method

ZipOutputStream() public method

Create a ZipOutputStream that writes to a filesystem file.
The ZipFile class is generally easier to use when creating zip files. The ZipOutputStream offers a different metaphor for creating a zip file, based on the System.IO.Stream class.
public ZipOutputStream ( String fileName ) : System
fileName String /// The name of the zip file to create. ///
return System
        public ZipOutputStream(String fileName)
        {
            Stream stream = File.Open(fileName, FileMode.Create, FileAccess.ReadWrite, FileShare.None);
            _Init(stream, false, fileName);
        }

Same methods

ZipOutputStream::ZipOutputStream ( Stream stream ) : System
ZipOutputStream::ZipOutputStream ( Stream stream, bool leaveOpen ) : System