共用方式為


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的屬性集。

適用於