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

    Creates a new ResourceLimits instance with specified entry count and depth limits, inheriting other values from current global limits.

    Namespace: DevExpress.Utils.Zip

    Assembly: DevExpress.Data.v26.1.dll

    Declaration

    public static SecureZipPolicy.ResourceLimits CountAndDepth(
        int? maxEntryCount,
        int? maxDepth
    )

    Parameters

    Name Type Description
    maxEntryCount Nullable<Int32>

    The maximum number of archive entries. Pass null to keep the current value.

    maxDepth Nullable<Int32>

    The maximum depth of archive entries. Pass null to keep the current value.

    Returns

    Type Description
    SecureZipPolicy.ResourceLimits

    A new ResourceLimits instance with specified count and depth limits.

    See Also