Compartir a través de


PlayRight Class

Definition

When added to a AdvancedLicense via the AddRight(Right) method, this right allows the client to play protected content.

public class PlayRight : Microsoft.Media.Drm.Right
type PlayRight = class
    inherit Right
Public Class PlayRight
Inherits Right
Inheritance
PlayRight

Remarks

Aside from basic playback, there can be multiple properties and restrictions the service can add to this right, including:

  • Output protection levels required of the client to playback content for specific media types.
  • Expiration of a license after first play.
  • Types of extended technologies allowed to playback the content along with configuration data to dictate playback behavior on these technologies.
  • Enablers to allow playback of content to external devices.
May not be added to a KeyExchangeLicense.

Constructors

PlayRight()

Initializes a new instance of the PlayRight class.

Properties

AnalogVideoOPL

Gets or sets the protection level for analog video content. The client must have protection technology equal to or greater than the specified level to playback the content.

AnalogVideoOutputProtectionList

Gets the list of analog video output protections that have been added to this play right.

CompressedDigitalAudioOPL

Gets or sets the protection level for compressed digital audio content. The client must have protection technology equal to or greater than the specified level to playback the content.

CompressedDigitalVideoOPL

Gets or sets the protection level for compressed digital video content. The client must have protection technology equal to or greater than the specified level to playback the content.

DigitalAudioOutputProtectionList

Gets the list of digital audio output protections that have been added to this play right.

DigitalVideoOutputProtectionList

Gets the list of digital video output protections that have been added to this play right.

FirstPlayExpiration

Gets or sets the number of seconds until the license expires after the client first plays the content.

UncompressedDigitalAudioOPL

Gets or sets the protection level for uncompressed digital audio content. The client must have protection technology equal to or greater than the specified level to playback the content.

UncompressedDigitalVideoOPL

Gets or sets the protection level for uncompressed digital video content. The client must have protection technology equal to or greater than the specified level to playback the content.

Methods

AddAnalogVideoOutputProtection(ExplicitOutputProtection)

Adds an extended technology that is allowed to play protected analog video content. It also adds additional configuration data to dictate the allowed behavior on the client.

AddAnalogVideoOutputProtection(Guid, Byte[])

Adds an extended technology that is allowed to play protected analog video content. It also adds additional configuration data to dictate the allowed behavior on the client.

AddDigitalAudioOutputProtection(ExplicitOutputProtection)

Adds an extended technology that is allowed to play protected digital audio content. It also adds additional configuration data to dictate the allowed behavior on the client.

AddDigitalAudioOutputProtection(Guid, Byte[])

Adds an extended technology that is allowed to play protected digital audio content. It also adds additional configuration data to dictate the allowed behavior on the client.

AddDigitalVideoOutputProtection(ExplicitOutputProtection)

Adds an extended technology that is allowed to play protected digital video content. It also adds additional configuration data to dictate the allowed behavior on the client.

AddDigitalVideoOutputProtection(Guid, Byte[])

Adds an extended technology that is allowed to play protected digital video content. It also adds additional configuration data to dictate the allowed behavior on the client.

AddExtendedRestriction(ExtendedRestriction)

Adds an extended Restriction to a right.

AddPlayEnabler(PlayEnabler)

Adds a PlayEnabler to the play right. A play enabler allows a consumer to play protected content on an external device.

ContainsDigitalVideoOp()

Indicates whether any digital video output protections have been added to this play right.

ContainsMustUnderstandExtendedRestriction()

Indicates whether this object contains a must-understand extended restriction.

Applies to