SecureZipPolicy.SetCompressionLimits(Nullable<Double>, Nullable<Double>) Method
Sets the maximum allowed compression ratio for individual files and the entire archive when extracting zip archives.
Namespace: DevExpress.Utils.Zip
Assembly: DevExpress.Data.v26.1.dll
Declaration
public static void SetCompressionLimits(
double? maxCompressionRatio,
double? maxTotalCompressionRatio
)
Parameters
| Name | Type | Description |
|---|---|---|
| maxCompressionRatio | Nullable<Double> | The maximum allowed compression ratio for individual files. If the compression ratio of a file exceeds this limit during extraction, the |
| maxTotalCompressionRatio | Nullable<Double> | The maximum allowed compression ratio for the entire archive. If the total compression ratio of the archive exceeds this limit during extraction, the |
See Also