MediaProtectionPMPServer 类

定义

表示 PMP) 服务器 (受保护的媒体路径,以便使用数字版权管理 (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
继承
Object Platform::Object IInspectable MediaProtectionPMPServer
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

构造函数

MediaProtectionPMPServer(IPropertySet)

使用指定的属性初始化 MediaProtectionPMPServer 类的新实例。

属性

Properties

获取 MediaProtectionPMPServer 的属性集。

适用于