Skip to main content
All docs
V26.1
  • SecureZipPolicy.ResourceLimits Members

    Contains resource limit parameters for a secure ZIP policy.

    Properties

    Name Description
    MaxCompressionRatio Gets the maximum allowed ratio between uncompressed and compressed sizes for a single entry.
    MaxDepth Gets the maximum allowed depth of archive entries.
    MaxEntryBytes Gets the maximum allowed uncompressed bytes for a single archive entry.
    MaxEntryCount Gets the maximum allowed number of archive entries.
    MaxTotalBytes Gets the maximum total uncompressed bytes for the entire extraction.
    MaxTotalCompressionRatio Gets the maximum allowed cumulative ratio between total uncompressed to total compressed sizes across the entire archive.

    Methods

    Name Description
    Compression(Nullable<Double>, Nullable<Double>) static Creates a new ResourceLimits instance with specified compression ratio limits, inheriting other values from current global limits.
    CountAndDepth(Nullable<Int32>, Nullable<Int32>) static Creates a new ResourceLimits instance with specified entry count and depth limits, inheriting other values from current global limits.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    Size(Nullable<Int64>, Nullable<Int64>) static Creates a new ResourceLimits instance with specified size limits, inheriting other values from the current global limits.
    ToString() Returns a string that represents the current object. Inherited from Object.
    WithCompression(Nullable<Double>, Nullable<Double>) Returns a new ResourceLimits instance with specified compression ratio limits, inheriting other values from the current instance.
    WithCountAndDepth(Nullable<Int32>, Nullable<Int32>) Returns a new ResourceLimits instance with specified entry count and depth limits, inheriting other values from the current instance.
    WithSize(Nullable<Int64>, Nullable<Int64>) Returns a new ResourceLimits instance with specified size limits, inheriting other values from the current instance.
    See Also