MediaStreamSource.MediaProtectionManager Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.MediaProtectionSystemId
- [Windows.Media.Protection.MediaProtectionSystemIdMapping
](../windows.media.protection/mediaprotectionmanager_properties.md) MediaStreamSource will use the value of the following optional property when initializing the content protection system: