PlayReadyIndividualizationServiceRequest PlayReadyIndividualizationServiceRequest PlayReadyIndividualizationServiceRequest PlayReadyIndividualizationServiceRequest Class

Definition

Provides the service methods for requesting platform individualization.

public : sealed class PlayReadyIndividualizationServiceRequest : IMediaProtectionServiceRequest, IPlayReadyIndividualizationServiceRequest, IPlayReadyServiceRequestpublic sealed class PlayReadyIndividualizationServiceRequest : IMediaProtectionServiceRequest, IPlayReadyIndividualizationServiceRequest, IPlayReadyServiceRequestPublic NotInheritable Class PlayReadyIndividualizationServiceRequest Implements IMediaProtectionServiceRequest, IPlayReadyIndividualizationServiceRequest, IPlayReadyServiceRequest// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

The process of individualization is not configurable by an app, so this class has no methods or properties beyond that of the IPlayReadyServiceRequest base class. It is provided for type completeness and as a concrete activatable class.

Constructors

PlayReadyIndividualizationServiceRequest() PlayReadyIndividualizationServiceRequest() PlayReadyIndividualizationServiceRequest() PlayReadyIndividualizationServiceRequest()

Initializes a new instance of the PlayReadyIndividualizationServiceRequest class.

public : PlayReadyIndividualizationServiceRequest()public PlayReadyIndividualizationServiceRequest()Public Sub New()// You can use this method in JavaScript.

Properties

ChallengeCustomData ChallengeCustomData ChallengeCustomData ChallengeCustomData

Gets or sets the custom data of the request challenge. This property is not supported in this class.

public : PlatForm::String ChallengeCustomData { get; set; }public string ChallengeCustomData { get; set; }Public ReadWrite Property ChallengeCustomData As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

Get always returns NULL data. Set always returns 0x80070032 (the request is not supported).

ProtectionSystem ProtectionSystem ProtectionSystem ProtectionSystem

Gets the vendor content protection system identifier.

public : PlatForm::Guid ProtectionSystem { get; }public Guid ProtectionSystem { get; }Public ReadOnly Property ProtectionSystem As Guid// You can use this property in JavaScript.
Value
PlatForm::Guid Guid Guid Guid

The vendor content protection system identifier. This property value is sensitive to the underlying platform's endianness. Carefully test your app on all platforms you intend to support to ensure that correct endianness is used on each platform.

Remarks

This property allows the app to identify the content protection system being used and therefore how to interpret the protection task.

ResponseCustomData ResponseCustomData ResponseCustomData ResponseCustomData

Gets the custom data that was returned in the response from the service. This property is not supported in this class.

public : PlatForm::String ResponseCustomData { get; }public string ResponseCustomData { get; }Public ReadOnly Property ResponseCustomData As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

Always returns NULL data.

Type Type Type Type

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

public : PlatForm::Guid Type { get; }public Guid Type { get; }Public ReadOnly Property Type As Guid// You can use this property in JavaScript.
Value
PlatForm::Guid Guid Guid Guid

The GUID for the type of operation. This property value is sensitive to the underlying platform's endianness. Carefully test your app on all platforms you intend to support to ensure that correct endianness is used on each platform.

Remarks

The possible values of Type depend on the content protection system used for the content. This can be determined by context or by inspecting the ProtectionSystem property.

Uri Uri Uri Uri

Gets or sets the URI used to perform a service request action. This property is not supported in this class.

public : Uri Uri { get; set; }public Uri Uri { get; set; }Public ReadWrite Property Uri As Uri// You can use this property in JavaScript.
Value
Uri Uri Uri Uri

Get always returns NULL data. Set always returns 0x80070032 (the request is not supported).

Remarks

The URI should not be set on this service request.

Methods

BeginServiceRequest() BeginServiceRequest() BeginServiceRequest() BeginServiceRequest()

Begins an asynchronous service request operation.

public : IAsyncAction BeginServiceRequest()public IAsyncAction BeginServiceRequest()Public Function BeginServiceRequest() As IAsyncAction// You can use this method in JavaScript.
Returns

The asynchronous service action.

Remarks

Completion and results can be retrieved using the IAsyncAction interface that is returned. Calling this method places the class in a read-only state.

GenerateManualEnablingChallenge() GenerateManualEnablingChallenge() GenerateManualEnablingChallenge() GenerateManualEnablingChallenge()

Begins the process of manually enabling. This method is not supported in this class.

public : PlayReadySoapMessage GenerateManualEnablingChallenge()public PlayReadySoapMessage GenerateManualEnablingChallenge()Public Function GenerateManualEnablingChallenge() As PlayReadySoapMessage// You can use this method in JavaScript.
Returns

This method always returns 0x80070032 (the request is not supported).

NextServiceRequest() NextServiceRequest() NextServiceRequest() NextServiceRequest()

Returns a new service request interface.

public : IPlayReadyServiceRequest NextServiceRequest()public IPlayReadyServiceRequest NextServiceRequest()Public Function NextServiceRequest() As IPlayReadyServiceRequest// You can use this method in JavaScript.
Returns

Remarks

This method should only be called after a completion event from the IAsyncAction object returned from BeginServiceRequest has indicated the current service request is complete (automatic enabling). This situation leaves the current service request in a read-only/complete state, although there could be additional service requests to perform. An app should call this method to determine if additional service requests are required.

ProcessManualEnablingResponse(Byte[]) ProcessManualEnablingResponse(Byte[]) ProcessManualEnablingResponse(Byte[]) ProcessManualEnablingResponse(Byte[])

Process the raw binary result of a manual enabling challenge. This method is not supported in this class.

public : HResult ProcessManualEnablingResponse(Byte[] responseBytes)public Exception ProcessManualEnablingResponse(Byte[] responseBytes)Public Function ProcessManualEnablingResponse(responseBytes As Byte[]) As Exception// You can use this method in JavaScript.
Parameters
responseBytes
Byte[] Byte[] Byte[] Byte[]

The response result to be processed.

Returns
HResult Exception Exception Exception

This method always returns 0x80070032 (the request is not supported).

See Also