ILicenseAcknowledgementHandler.HandleLicenseAcknowledgementAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Service implemented method handling License Acknowledgement requests.
public System.Threading.Tasks.Task<Microsoft.Media.Drm.LicenseAcknowledgementResponse> HandleLicenseAcknowledgementAsync (Microsoft.Media.Drm.ILicenseAcknowledgementChallenge challenge);
abstract member HandleLicenseAcknowledgementAsync : Microsoft.Media.Drm.ILicenseAcknowledgementChallenge -> System.Threading.Tasks.Task<Microsoft.Media.Drm.LicenseAcknowledgementResponse>
Public Function HandleLicenseAcknowledgementAsync (challenge As ILicenseAcknowledgementChallenge) As Task(Of LicenseAcknowledgementResponse)
Parameters
- challenge
- ILicenseAcknowledgementChallenge
Parsed ILicenseAcknowledgementChallenge received from the client.
Returns
The LicenseAcknowledgementResponse to be returned to the client.
Remarks
A license acknowledgement request is a report with the results of the storage of MediaLicenses on the client. In this method, the service would typically perform the following steps in order.
- Check the SignatureVerified property to ensure that the acknowledgement was not tampered with.
- Verify that the TransactionId matches a previously-recorded ID.
- Retrieve the results and execute tasks, depending on the results of the acknowledgment requests.
- Return the response to the client.