Share via


MediaProtectionPMPServer Class

Definition

Represents a Protected Media Path (PMP) server to enable playback of protected content using digital rights management (DRM).

public ref class MediaProtectionPMPServer sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.IMediaProtectionPMPServerFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaProtectionPMPServer final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.IMediaProtectionPMPServerFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MediaProtectionPMPServer final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.IMediaProtectionPMPServerFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaProtectionPMPServer
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.IMediaProtectionPMPServerFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MediaProtectionPMPServer
function MediaProtectionPMPServer(pProperties)
Public NotInheritable Class MediaProtectionPMPServer
Inheritance
Object Platform::Object IInspectable MediaProtectionPMPServer
Attributes

Windows requirements

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

Constructors

MediaProtectionPMPServer(IPropertySet)

Initializes a new instance of the MediaProtectionPMPServer class with the specified properties.

Properties

Properties

Gets the property set for the MediaProtectionPMPServer.

Applies to