ZipArchive.Read(Stream, 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(
Stream stream,
SecureZipPolicy.ResourceLimits resourceLimits
)
Parameters
| Name | Type | Description |
|---|---|---|
| stream | Stream | The stream containing 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