MediaPlaybackSession.IsProtected MediaPlaybackSession.IsProtected MediaPlaybackSession.IsProtected MediaPlaybackSession.IsProtected MediaPlaybackSession.IsProtected Property

Definition

Gets a value that indicates whether the media that is currently playing in the MediaPlaybackSession is protected by digital rights management (DRM).

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

Property Value

bool bool bool

True if the currently playing media is protected by DRM; otherwise, false.