MediaStreamSampleProtectionProperties.GetKeyIdentifier(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.