Partager via


MediaProtectionPMPServer Classe

Définition

Représente un serveur PMP (Protected Media Path) pour activer la lecture de contenu protégé à l’aide de la gestion des droits numériques (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
Héritage
Object Platform::Object IInspectable MediaProtectionPMPServer
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Constructeurs

MediaProtectionPMPServer(IPropertySet)

Initialise une nouvelle instance de la classe MediaProtectionPMPServer avec les propriétés spécifiées.

Propriétés

Properties

Obtient la propriété définie pour MediaProtectionPMPServer.

S’applique à