RevocationAndRenewalInformation
RevocationAndRenewalInformation
RevocationAndRenewalInformation
RevocationAndRenewalInformation
Class
Definition
Contains information about components that need to be revoked and renewed.
public : sealed class RevocationAndRenewalInformation : IRevocationAndRenewalInformationpublic sealed class RevocationAndRenewalInformation : IRevocationAndRenewalInformationPublic NotInheritable Class RevocationAndRenewalInformation Implements IRevocationAndRenewalInformation// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Examples
This example shows a ComponentLoadFailedEventHandler. A loop iterates through the failed components. And RenewSystemComponentsAsync is invoked. Note that the RevocationAndRenewalInformation is passed in through the ComponentLoadFailedEventArgs.
function ComponentLoadFailed(e) {
for (var i = 0; i < e.information.items.size; i++) {
LogMessage('Component Name=' +
e.information.items[i].name +
'<BR/>');
LogMessage('Failure Reason=' +
e.information.items[i].reasons.toString(16) +
'<BR/>');
LogMessage('Renewal GUID=' +
e.information.items[i].renewalId +
'<BR/>');
}
// Invoke the revocation
ComponentRenewal.renewSystemComponentsAsync(e.information).then(
function (r) {
LogMessage("RenewSystemComponentsAsync: " +
r.toString() +
'<BR/>');
e.completion.complete(false);
}
);
};
Remarks
An instance of this object is returned by the ComponentLoadFailedEventArgs.Information property.
Properties
Items Items Items Items
Returns a list of components that need to be revoked and renewed with updated components.
public : IVector<RevocationAndRenewalItem> Items { get; }public IList<RevocationAndRenewalItem> Items { get; }Public ReadOnly Property Items As IList<RevocationAndRenewalItem>// You can use this property in JavaScript.
- Value
- IVector<RevocationAndRenewalItem> IList<RevocationAndRenewalItem> IList<RevocationAndRenewalItem> IList<RevocationAndRenewalItem>
List of components that need to be revoked and renewed.
Remarks
If there are no entries in the list, it indicates that basic system components are compromised. In that case, recovery can be attempted by invoking ComponentRenewal.RenewSystemComponentsAsync.
If there is a single entry in the list, the entry may indicate that the system’s revocation list (active.grl) needs updating. This usually means that the content protection system requires updates of components. This is often the first indication that components need updating. Recovery can be attempted by invoking ComponentRenewal.RenewSystemComponentsAsync.