Share via


MediaElement.ProtectionManager Property

Definition

Gets or sets the dedicated object for media content protection that is associated with this MediaElement.

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

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

Property Value

The dedicated object for media content protection.

Remarks

See the PlayReady sample for an example of using ProtectionManager.

Applies to