PlayReadyLicenseAcquisitionServiceRequest Class

Definition

Provides the service methods for obtaining PlayReady licenses.

public ref class PlayReadyLicenseAcquisitionServiceRequest sealed : IPlayReadyLicenseAcquisitionServiceRequest
public ref class PlayReadyLicenseAcquisitionServiceRequest sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class PlayReadyLicenseAcquisitionServiceRequest final : IPlayReadyLicenseAcquisitionServiceRequest
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class PlayReadyLicenseAcquisitionServiceRequest final : IPlayReadyLicenseAcquisitionServiceRequest
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class PlayReadyLicenseAcquisitionServiceRequest final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class PlayReadyLicenseAcquisitionServiceRequest : IPlayReadyLicenseAcquisitionServiceRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PlayReadyLicenseAcquisitionServiceRequest : IPlayReadyLicenseAcquisitionServiceRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PlayReadyLicenseAcquisitionServiceRequest
function PlayReadyLicenseAcquisitionServiceRequest()
Public NotInheritable Class PlayReadyLicenseAcquisitionServiceRequest
Implements IPlayReadyLicenseAcquisitionServiceRequest
Public NotInheritable Class PlayReadyLicenseAcquisitionServiceRequest
Inheritance
Object Platform::Object IInspectable PlayReadyLicenseAcquisitionServiceRequest
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This class can be created proactively, returned from a previous service request operation, or delivered to the app through the MediaProtectionManager.ServiceRequested event.

Version history

Windows version SDK version Value added
1607 14393 SessionId
1703 15063 CreateLicenseIterable

Constructors

PlayReadyLicenseAcquisitionServiceRequest()

Initializes a new instance of the PlayReadyLicenseAcquisitionServiceRequest class.

Properties

ChallengeCustomData

Gets or sets the custom data of the request challenge.

ContentHeader

Gets or sets the current content header property.

DomainServiceId

Gets or sets the current domain service identifier property that overrides a service identifier in the content header.

ProtectionSystem

Gets the vendor content protection system identifier.

ResponseCustomData

Gets the custom data that was returned in the response from the service.

SessionId

Gets a unique identifier for the PlayReady license acquisition operation.

Type

Gets the GUID for the type of operation that the PlayReady license acquisition service request performs.

Uri

Gets or sets the URI used to perform a service request action.

Methods

BeginServiceRequest()

Begins an asynchronous service request operation.

CreateLicenseIterable(PlayReadyContentHeader, Boolean)

Creates a PlayReadyLicense class iterator that supports in-memory-only PlayReady licenses in addition to persisted licenses.

GenerateManualEnablingChallenge()

Begins the process of manually enabling.

NextServiceRequest()

Returns a new service request interface.

ProcessManualEnablingResponse(Byte[])

Process the raw binary result of a manual enabling challenge.

Applies to

See also