Skip to main content
All docs
V26.1
  • SecureZipPolicy.ResourceLimits.WithSize(Nullable<Int64>, Nullable<Int64>) Method

    Returns a new ResourceLimits instance with specified size limits, inheriting other values from the current instance.

    Namespace: DevExpress.Utils.Zip

    Assembly: DevExpress.Data.v26.1.dll

    Declaration

    public SecureZipPolicy.ResourceLimits WithSize(
        long? maxEntryBytes,
        long? maxTotalBytes
    )

    Parameters

    Name Type Description
    maxEntryBytes Nullable<Int64>

    The maximum uncompressed bytes allowed for a single archive entry. Pass null to keep the current value.

    maxTotalBytes Nullable<Int64>

    The maximum total uncompressed bytes for the entire extraction. Pass null to keep the current value.

    Returns

    Type Description
    SecureZipPolicy.ResourceLimits

    A new ResourceLimits instance with specified size limits.

    See Also