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

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

    Namespace: DevExpress.Utils.Zip

    Assembly: DevExpress.Data.v26.1.dll

    Declaration

    public SecureZipPolicy.ResourceLimits WithCountAndDepth(
        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