Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

OfficePackageSecurityRule

Namespace OfficeIMO
Assembly OfficeIMO.Core
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Identifies a package security rule.

Inheritance

  • Enum
  • OfficePackageSecurityRule

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const OfficePackageSecurityRule PackageSize #

The complete source exceeds the configured byte limit.

Value: 0
public const OfficePackageSecurityRule PartCount #

The package contains more parts than allowed.

Value: 1
public const OfficePackageSecurityRule PartSize #

An individual uncompressed part exceeds the configured byte limit.

Value: 2
public const OfficePackageSecurityRule TotalUncompressedSize #

The sum of uncompressed part sizes exceeds the configured byte limit.

Value: 3
public const OfficePackageSecurityRule CompressionRatio #

A ZIP part exceeds the configured compression ratio.

Value: 4
public const OfficePackageSecurityRule DuplicatePartName #

The ZIP contains ambiguous duplicate part names.

Value: 5
public const OfficePackageSecurityRule UnsafePartName #

A ZIP part name is absolute, traverses a parent, or otherwise has an unsafe shape.

Value: 6
public const OfficePackageSecurityRule MalformedRelationship #

A relationship part could not be parsed safely.

Value: 7
public const OfficePackageSecurityRule Macros #

The package contains a VBA project while macro content is rejected.

Value: 8
public const OfficePackageSecurityRule EmbeddedPayloads #

The package contains an embedded payload while embedded content is rejected.

Value: 9
public const OfficePackageSecurityRule ActiveX #

The package contains ActiveX content while ActiveX is rejected.

Value: 10
public const OfficePackageSecurityRule ExternalRelationships #

The package contains external relationships while external targets are rejected.

Value: 11
public const OfficePackageSecurityRule MalformedPackage #

The ZIP or compound container is malformed.

Value: 12