ZipArchive.Read(String, Encoding, SecureZipPolicy.ResourceLimits) Method
Reads a ZIP archive from a file and returns a ZipArchive object.
Namespace: DevExpress.Compression
Assembly: DevExpress.Docs.v26.1.dll
Declaration
public static ZipArchive Read(
string fileName,
Encoding encoding,
SecureZipPolicy.ResourceLimits resourceLimits
)
Parameters
| Name | Type | Description |
|---|---|---|
| fileName | String | The path to the ZIP archive file. |
| encoding | Encoding | The encoding to use for reading the ZIP archive. |
| resourceLimits | SecureZipPolicy.ResourceLimits | Resource limits to apply when reading the ZIP archive. |
Returns
| Type | Description |
|---|---|
| ZipArchive | A ZipArchive object representing the contents of the ZIP archive. |
See Also