ZipArchive.Read(Stream, Encoding, SecureZipPolicy.ResourceLimits) Method
Reads a ZIP archive from a stream and returns a ZipArchive object.
Namespace: DevExpress.Compression
Assembly: DevExpress.Docs.v26.1.dll
Declaration
public static ZipArchive Read(
Stream stream,
Encoding encoding,
SecureZipPolicy.ResourceLimits resourceLimits
)
Parameters
| Name | Type | Description |
|---|---|---|
| stream | Stream | The stream containing the ZIP archive. |
| 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