共用方式為


MediaLicense.ExpirationDate Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the expiration date of the MediaLicense class instance.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property ExpirationDate As Nullable(Of DateTimeOffset)
public Nullable<DateTimeOffset> ExpirationDate { get; }

Property Value

Type: System.Nullable<DateTimeOffset>
The expiration date of the MediaLicense class instance.

Remarks

If the MediaLicense instance represents a license chain, (root license plus leaf license) then it is the aggregate expiration of the chain. If the instance represents just a single license then it is the ExpirationDate of that license. Note that ExpirationDate is affected by all of the expiration policies in the license or license chain. For more information about license chains and leaf licenses, see Digital Rights Management (DRM).

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.