Share via


PackageState Enum

Definition

Represents the state of the Package.

public enum class PackageState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PackageState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PackageState
var value = Windows.Management.Deployment.PackageState.normal
Public Enum PackageState
Inheritance
PackageState
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Normal 0

The package is usable.

LicenseInvalid 1

The license of the package is not valid.

Modified 2

The package payload was modified by an unknown source.

Tampered 3

The package payload was tampered with intentionally.

Applies to

See also