Package.VerifyContentIntegrityAsync Package.VerifyContentIntegrityAsync Package.VerifyContentIntegrityAsync Package.VerifyContentIntegrityAsync Package.VerifyContentIntegrityAsync Method

Definition

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

public : IAsyncOperation<Platform::Boolean> VerifyContentIntegrityAsync()
IAsyncOperation<bool> VerifyContentIntegrityAsync() const;
public IAsyncOperation<bool> VerifyContentIntegrityAsync()
Public Function VerifyContentIntegrityAsync() As IAsyncOperation(Of bool)
Windows.ApplicationModel.Package.verifyContentIntegrityAsync().done( /* Your success and error handlers */ );

Returns

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

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

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.