Udostępnij za pośrednictwem


IPlayReadyServiceRequest Interface

Definition

Base interface for all service request interfaces.

public interface class IPlayReadyServiceRequest : IMediaProtectionServiceRequest
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2343381046, 42755, 17830, 161, 128, 118, 243, 86, 90, 167, 37)]
struct IPlayReadyServiceRequest : IMediaProtectionServiceRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2343381046, 42755, 17830, 161, 128, 118, 243, 86, 90, 167, 37)]
public interface IPlayReadyServiceRequest : IMediaProtectionServiceRequest
Public Interface IPlayReadyServiceRequest
Implements IMediaProtectionServiceRequest
Derived
Attributes
Implements

Windows requirements

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

Remarks

All PlayReady service request objects support all the methods in this interface with the exceptions of PlayReadyIndividualizationServiceRequest and PlayReadyRevocationServiceRequest. IPlayReadyIndividualizationServiceRequest and IPlayReadyRevocationServiceRequest only support BeginServiceRequest and NextServiceRequest.

Some properties are only available for retrieval after the service request is complete. These will be explicitly indicated.

No properties can be set after BeginServiceRequest or GenerateManualEnablingChallenge has been called. These methods effectively put the interface into a read-only state.

The only IPlayReadyServiceRequest that can be created if the machine is not individualized is IPlayReadyIndividualizationServiceRequest. All others return MSPR_E_NEEDS_INDIVIDUALIZATION until individualization occurs successfully.

Properties

ChallengeCustomData

Gets or sets the custom data of the request challenge.

ProtectionSystem

Allows the application to identify the content protection system being used and therefore how to interpret the protection task.

(Inherited from IMediaProtectionServiceRequest)
ResponseCustomData

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

Type

Retrieves the GUID for the type of operation that the IMediaProtectionServiceRequest performs.

(Inherited from IMediaProtectionServiceRequest)
Uri

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

Methods

BeginServiceRequest()

Begins an asynchronous service request operation.

GenerateManualEnablingChallenge()

Begins the process of manually enabling.

NextServiceRequest()

Returns a new service request interface.

ProcessManualEnablingResponse(Byte[])

Processes the raw binary result of a manual enabling challenge.

Applies to

See also