Share via


MediaStreamSampleProtectionProperties.GetKeyIdentifier(Byte[]) Method

Definition

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

void GetKeyIdentifier([Out] winrt::array_view <byte> const& & value);
public void GetKeyIdentifier(out byte[] value);
Public Sub GetKeyIdentifier (ByRef value As Byte())

Parameters

value

Byte[]

byte[]

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.

Applies to