Partager via


MediaLicense.KeyId Property

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

Gets the content key identifier of the MediaLicense.

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

Syntax

'Declaration
Public ReadOnly Property KeyId As Guid
public Guid KeyId { get; }

Property Value

Type: System.Guid
The content key identifier of the MediaLicense. If the MediaLicense instance represents a license, then this property returns the content key identifier of the license itself. If the class instance represents a license chain, then it is the content key identifier of the leaf license. For more information about license chains and leaf licenses, see Digital Rights Management (DRM). Since content also contains the key identifier for the key needed to decrypt the content, this value is used to pair a license with the content for decryption.

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.