Partager via


AdvancedLicense.RealTimeExpiration Property

Definition

Gets or sets whether to enforce real time expiration on the license.

public bool RealTimeExpiration { get; set; }
member this.RealTimeExpiration : bool with get, set
Public Property RealTimeExpiration As Boolean

Property Value

true to enforce real time expiration on the license; otherwise, false.

Remarks

If this property is set to true, the RealTimeExpiration policy is set in the license. When the RealTimeExpiration policy is set in the license, the PlayReady client implementation will disable the license during playback in real time and stop the playback if the license is expired according to the PlayReady Compliance Rules document that accompanies a PlayReady licensing agreement. This property can only be set when an expiration state such as FirstPlayExpiration, ExpirationDate, or BeginDate is set in the license.

Applies to