Share via


LicenseResponse Class

Definition

Represents the response returned from HandleLicenseAcquisitionAsync(ILicenseChallenge).

public class LicenseResponse : Microsoft.Media.Drm.ProtocolResponse
type LicenseResponse = class
    inherit ProtocolResponse
Public Class LicenseResponse
Inherits ProtocolResponse
Inheritance

Constructors

LicenseResponse(ILicenseChallenge)

Initializes a new instance of the ILicenseChallenge class.

Properties

CustomData

Gets or sets service specific data to be returned to the client as part of the response.

(Inherited from ProtocolResponse)
IncludeOptimizedContentKey2

Gets or sets a value requesting that the server perform one additional ECC encryption operation to eliminate one or more ECC decryption operation(s) on the client.

LicenseCount

Gets the number of licenses added to the license response thus far.

LicenseServerTimeCertificate

Gets or sets the certificate used to sign the license server time returned to the client.

ServiceId

Gets or sets the service identifier of the service.

TransactionId

Gets or sets the transaction identifer returned in the license response.

Methods

AddLicense(License)

Adds a License to this response.

GetLicenses()

Provides a list of all the License added to the the license response.

Applies to