uap10:Content

Indicates whether Windows will enforce run time package integrity checks on the entire contents of the package. If enabled, Windows will perform run time checks and initiate a package remediation and repair workflow before launching the app if it detects a tampered or corrupt package.

Element hierarchy

<Package>

    <Properties>

         <uap10:PackageIntegrity>

              <uap10:Content>

Syntax

<uap10:PackageIntegrity>

  <!-- Child elements -->
  <uap10:Content
    Enforcement = 'A string that can have one of the following values: "on", "off", or "default". The value "default" currently has the same behavior as "off".' />

</uap10:PackageIntegrity>

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Enforcement Indicates whether Windows will enforce run time package integrity checks on the entire contents of the package. A string that can have one of the following values: on, off, or default. The value default currently has the same behavior as off. Yes off

Child elements

None.

Parent elements

Parent element Description
uap10:PackageIntegrity Specifies the level of run time package integrity checks and remediation for the package.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/10
Minimum OS Version Windows 10 version 2004 (Build 19041)