共用方式為


Package.VerifyContentIntegrityAsync 方法

定義

在載入之前,請確定尚未修改或竄改封裝。

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)

傳回

true - 套件尚未修改; 否則為 false

屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

此函式只會驗證套件的內容尚未修改。 它不會驗證套件的狀態、來源等等。

適用於