Dela via


PackageSignatureKind Enum

Definition

Provides information about the package's signature and the kind of certificate used to create it.

public enum class PackageSignatureKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class PackageSignatureKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum PackageSignatureKind
var value = Windows.ApplicationModel.PackageSignatureKind.none
Public Enum PackageSignatureKind
Inheritance
PackageSignatureKind
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
None 0

The package is not signed. For example, a Visual Studio project that is running from layout (F5).

Developer 1

The package is signed with a trusted certificate that is not categorized as Enterprise, Store, or System. For example, an application signed by an ISV for distrubution outside of the Microsoft Store.

Enterprise 2

The package is signed using a certificate issued by a root authority that has higher verification requirements than general public authorities.

Store 3

The package is signed by the Windows Store.

System 4

The package is signed by a certificate that's also used to sign the Windows Operating System. These packages can have additional capabilities not granted to normal apps. For example, the built-in Settings app.

Remarks

Other than for reporting purposes, these values are not particularly useful to most applications. Any value other than None indicates that the package is signed with a trusted certificate, since it is not possible to install a package that is signed with an untrusted or otherwise invalid certificate.

The Developer option does not imply that the app is only for developers or that it is a "development build"; it simply means that the developer chose not to publish in the Microsoft Store (and is not using a special Enterprise certificate). Similarly, the Enterprise option does not imply that the app is only for Enterprises or that it is delivered via a device management solution such as InTune; it simply means that the developer chose to use a special "Enterprise" certificate.

Applies to

See also