MediaLicense Class
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.
Represents PlayReady licenses meant to be consumed by a PlayReady client for handling multimedia content.
public class MediaLicense : Microsoft.Media.Drm.AdvancedLicense
type MediaLicense = class
inherit AdvancedLicense
Public Class MediaLicense
Inherits AdvancedLicense
- Inheritance
Remarks
A MediaLicense supports the majority of the rights and restrictions allowed in the PlayReady Server SDK.
Constructors
MediaLicense() |
Initializes a new instance of the MediaLicense class. |
Properties
BeginDate |
Gets or sets the date and time before which the license is not valid. (Inherited from AdvancedLicense) |
BindingKey |
Gets or sets the IBindingKey of the license. (Inherited from License) |
ContentEncryptionKey |
Gets or sets the ContentKey used to decrypt the content associated with this license. (Inherited from License) |
ExpirationDate |
Gets or sets the date and time after which the license is not valid. (Inherited from AdvancedLicense) |
GracePeriod |
Obsolete.
Obsolete. PlayReady clients starting with version 3.0 ignore this property. specifies the time period during which protected content can be played on a client after its clock becomes unset. |
LeafContentKeyType |
Gets or sets ContentKeyType that will be used for any leaf license that is bound to this license's content key. (Inherited from License) |
LicenseId |
Gets the license's globally unique identifer. (Inherited from License) |
MeteringId |
Gets or sets the metering identifier for the metering aggregation service that meters this content. |
MinimumSecurityLevel |
Gets or sets the minimum security level required of an application to play protected content associated with this license. The service should specify a minimum security level to restrict playback of the content to more secure devices and clients. (Inherited from License) |
RealTimeExpiration |
Gets or sets whether to enforce real time expiration on the license. (Inherited from AdvancedLicense) |
RemovalDate |
Gets or sets the date after which the license may be permanently deleted from the PlayReady license store on the client. |
Rights |
Gets a read-only list of Right objects indicating what rights the client is allowed. (Inherited from License) |
SecureStop2AESKey |
Gets or sets the SecureStop2AESKey. (Inherited from AdvancedLicense) |
SecureStopPublisherId |
Gets or sets the secure stop publisher identifier. (Inherited from AdvancedLicense) |
SourceId |
The LicenseSourceId of the license. |
Type |
Gets or sets the LicenseType for the license. (Inherited from AdvancedLicense) |
Methods
AddExtendedRestriction(ExtendedRestriction) |
Adds an extended restriction to a media license. |
AddRight(Right) |
Adds a Right to the license. (Inherited from AdvancedLicense) |
ContainsBestEffortExtendedRestriction() |
Indicates whether this object contains a best-effort extended restriction. |
ContainsMustUnderstandExtendedRestriction() |
Indicates whether this object contains a must-understand extended restriction. |