Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaStreamSampleProtectionProperties.GetKeyIdentifier | getKeyIdentifier method

Applies to Windows and Windows Phone

Gets the Digital Rights Management (DRM) key identifier from the MediaStreamSample.

Syntax


mediaStreamSampleProtectionProperties.getKeyIdentifier();

Parameters

value (out parameter)

Type: array of Number [JavaScript] | System.Byte[] [.NET] | Platform::Array<uint8> [C++]

Receives the key identifier used to decrypt the data.

Remarks

This method is used with encrypted MediaStreamSample objects that belonging to a protection scheme that uses multiple keys. The key identifier allows the decryptor to know which key to use to decrypt the data.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

MediaStreamSampleProtectionProperties

 

 

Show:
© 2014 Microsoft