Share via


MediaStreamSource.MediaProtectionManager Property

Definition

Gets or sets the Digital Rights Management (DRM)MediaProtectionManager used to protect the media.

public:
 property MediaProtectionManager ^ MediaProtectionManager { MediaProtectionManager ^ get(); void set(MediaProtectionManager ^ value); };
MediaProtectionManager MediaProtectionManager();

void MediaProtectionManager(MediaProtectionManager value);
public MediaProtectionManager MediaProtectionManager { get; set; }
var mediaProtectionManager = mediaStreamSource.mediaProtectionManager;
mediaStreamSource.mediaProtectionManager = mediaProtectionManager;
Public Property MediaProtectionManager As MediaProtectionManager

Property Value

The media protection manager.

Remarks

If any of the streams are protected, the application must set the MediaProtectionManager property on the MediaStreamSource.

The MediaStreamSource requires that the following properties be present in the PropertySet object returned by MediaProtectionManager.Properties:

](../windows.media.protection/mediaprotectionmanager_properties.md) MediaStreamSource will use the value of the following optional property when initializing the content protection system:

Applies to