MediaPlayer.IsProtected MediaPlayer.IsProtected MediaPlayer.IsProtected MediaPlayer.IsProtected MediaPlayer.IsProtected Property

Definition

Gets a Boolean value indicating if the content is protected by a digital rights management system.

Note

MediaPlayer.IsProtected may be altered or unavailable after Windows 10, version 1607. Instead, use the MediaPlayer.PlaybackSession property to get a MediaPlaybackSession object and then use the IsProtected property.

public : Platform::Boolean IsProtected { get; }
bool IsProtected();
public bool IsProtected { get; }
Public ReadOnly Property IsProtected As bool
var bool = mediaPlayer.isProtected;

Property Value

bool bool bool

True if the content is protected, otherwise false.