Share via


ILicenseAcquisitionHandler.HandleLicenseAcquisitionAsync Method

Definition

Service implemented method handling the license acquistion requests.

public System.Threading.Tasks.Task<Microsoft.Media.Drm.LicenseResponse> HandleLicenseAcquisitionAsync (Microsoft.Media.Drm.ILicenseChallenge challenge);
abstract member HandleLicenseAcquisitionAsync : Microsoft.Media.Drm.ILicenseChallenge -> System.Threading.Tasks.Task<Microsoft.Media.Drm.LicenseResponse>
Public Function HandleLicenseAcquisitionAsync (challenge As ILicenseChallenge) As Task(Of LicenseResponse)

Parameters

challenge
ILicenseChallenge

Parsed ILicenseChallenge received from the client.

Returns

The LicenseResponse to be returned to the client.

Remarks

A license acquisition request is a request from the client for license(s) that grant the right to perform actions on a specified piece of content, license(s) that provide key exchange, and/or the current server time. In this method, the service would typically perform the following steps in order.

Typical exceptions the service might throw from this method are:

Applies to