DrmSetupDecryptorCompletedEventArgs.KeyID Property

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

Gets the Content Key Identifier of the license for the decryptor which either failed or completed setup.

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 license for the decryptor which either failed or completed setup.

Remarks

The AsyncCompletedEventArgs.Error property is used to determine if the decryptor setup succeeded or failed. If the AsyncCompletedEventArgs.Error property is nulla null reference (Nothing in Visual Basic), then setup succeeded; otherwise, setup failed and the property will be an Exception instance.

If a decryptor setup succeeds, than the required policies, such as output protection, have been successfully negotiated.

Version Information

Silverlight

Supported in: 5

Platforms

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