SecureZipPolicy.Options.CreateSnapshot(SecureZipPolicy.ResourceLimits, Boolean) Method
Creates an immutable copy of the options with specified resource limits. Captures the current global encryption policy so that subsequent SetEncryptionPolicy calls do not affect an already-opened archive.
Namespace: DevExpress.Utils.Zip
Assembly: DevExpress.Data.v26.1.dll
Declaration
public SecureZipPolicy.Options CreateSnapshot(
SecureZipPolicy.ResourceLimits resourceLimits,
bool contextAllowsEncryption = false
)
Parameters
| Name | Type | Description |
|---|---|---|
| resourceLimits | SecureZipPolicy.ResourceLimits | Resource limits available for use in the snapshot. If |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| contextAllowsEncryption | Boolean | False |
|
Returns
| Type | Description |
|---|---|
| SecureZipPolicy.Options | An immutable snapshot of options with specified resource limits. |
See Also