Condividi tramite


MediaLicense.RemovalDate Property

Definition

Gets or sets the date after which the license may be permanently deleted from the PlayReady license store on the client.

public DateTime RemovalDate { get; set; }
member this.RemovalDate : DateTime with get, set
Public Property RemovalDate As DateTime

Property Value

The date after which the license may be permanently deleted from the PlayReady license store on the client.

Remarks

Enables license issuers to indicate a reasonable time to live for licenses, and allows clients to remove unneeded licenses from their secure stores.

This property acts as an indicator to PlayReady clients that, once the specified time has been passed, the license may be permanently deleted from the secure store. Clients may ignore this property.

Licenses that have the RemovalDate property set:

  • Must not have any secure state properties, such as expiration date or expire after first play; the MediaLicense.ExpirationDate, MediaLicense.BeginDate, CopyRight.CopyCount and PlayRight.FirstPlayExpiration properties cannot be set on the license.
  • Must not support metering; the MediaLicense.MeteringId property cannot be set on the license.
  • Must be persistent.
  • Must not support any extensible restriction that requires secure state or protection against clock rollback attacks.
Attempts to create a license with a RemovalDate property that does not follow the above guidelines causes an exception to be thrown by PlayReady Server SDK.

Applies to