Ionic Zip Library v1.9.1.6
Initialize Method (fileName)
Initialize a ZipFile instance by reading in a zip file.
Declaration Syntax
Parameters
- fileName (String)
- the name of the existing zip file to read in.
Remarks
This method is primarily useful from COM Automation environments, when reading or extracting zip files. In COM, it is not possible to invoke parameterized constructors for a class. A COM Automation application can update a zip file by using the default (no argument) constructor, then calling Initialize() to read the contents of an on-disk zip archive into the ZipFile instance.
.NET applications are encouraged to use the ZipFile.Read() methods for better clarity.