MediaProtectionPMPServer
MediaProtectionPMPServer
MediaProtectionPMPServer
MediaProtectionPMPServer
Class
Definition
Represents a Protected Media Path (PMP) server to enable playback of protected content using digital rights management (DRM).
public : sealed class MediaProtectionPMPServer : IMediaProtectionPMPServerpublic sealed class MediaProtectionPMPServer : IMediaProtectionPMPServerPublic NotInheritable Class MediaProtectionPMPServer Implements IMediaProtectionPMPServer// 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)
|
Constructors
MediaProtectionPMPServer(IPropertySet) MediaProtectionPMPServer(IPropertySet) MediaProtectionPMPServer(IPropertySet) MediaProtectionPMPServer(IPropertySet)
Initializes a new instance of the MediaProtectionPMPServer class with the specified properties.
public : MediaProtectionPMPServer(IPropertySet pProperties)public MediaProtectionPMPServer(IPropertySet pProperties)Public Sub New(pProperties As IPropertySet)// You can use this method in JavaScript.
Parameters
- pProperties
- IPropertySet IPropertySet IPropertySet IPropertySet
The set of properties used to initialize the server.
Remarks
MediaProtectionPMPServer supports the following properties:
| Property | Description |
|---|---|
| "Windows.Media.Protection.MediaProtectionSystemId" | A GUID representing the DRM system your app will use. This allows the system to determine if hardware DRM is supported on the device. |
| Windows.Media.Protection.UseSoftwareProtectionLayer | Setting this to true tells the system to use software DRM even if hardware DRM is available on the current device. |
Properties
Properties Properties Properties Properties
Gets the property set for the MediaProtectionPMPServer.
public : IPropertySet Properties { get; }public IPropertySet Properties { get; }Public ReadOnly Property Properties As IPropertySet// You can use this property in JavaScript.
The property set for the MediaProtectionPMPServer.
Remarks
MediaProtectionPMPServer supports the following properties:
| Property | Description |
|---|---|
| "Windows.Media.Protection.MediaProtectionSystemId" | A GUID representing the DRM system your app will use. This allows the system to determine if hardware DRM is supported on the device. |
| Windows.Media.Protection.UseSoftwareProtectionLayer | Setting this to true tells the system to use software DRM even if hardware DRM is available on the current device. |