Package.VerifyContentIntegrityAsync Method

Definition

Ensures that the package has not been modified or tampered with before being loaded.

public:
 virtual IAsyncOperation<bool> ^ VerifyContentIntegrityAsync() = VerifyContentIntegrityAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> VerifyContentIntegrityAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> VerifyContentIntegrityAsync();
function verifyContentIntegrityAsync()
Public Function VerifyContentIntegrityAsync () As IAsyncOperation(Of Boolean)

Returns

true - the package has not been modified; false otherwise.

Attributes

Windows requirements

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

Remarks

This function only verifies that the package's contents have not been modified. It does not verify the package's status, origin, and so on.

Applies to