Reads a zip file archive and returns the instance.


- fileName (String)
- The name of the zip archive to open. This can be a fully-qualified or relative pathname.

The instance read from the zip archive.

The stream is read using the default System.Text.Encoding, which is the IBM437 codepage.

Exception | Condition |
---|---|
Exception |
Thrown if the ZipFile cannot be read. The implementation of this method
relies on System.IO.File.OpenRead, which can throw a variety of exceptions,
including specific exceptions if a file is not found, an unauthorized access
exception, exceptions for poorly formatted filenames, and so on.
|
