Share via


PlayReadyLicense.GetKIDAtChainDepth(UInt32) Method

Definition

Gets the key identifier (KID) of the license at the specified chain depth.

public:
 virtual Platform::Guid GetKIDAtChainDepth(unsigned int chainDepth) = GetKIDAtChainDepth;
winrt::guid GetKIDAtChainDepth(uint32_t const& chainDepth);
public Guid GetKIDAtChainDepth(uint chainDepth);
function getKIDAtChainDepth(chainDepth)
Public Function GetKIDAtChainDepth (chainDepth As UInteger) As Guid

Parameters

chainDepth
UInt32

unsigned int

uint32_t

The depth of the license in the chain for which to retrieve the KID. This value is a 0-based index.

Returns

Guid

Platform::Guid

winrt::guid

The KID of the license. This return value is sensitive to the underlying platform's endianness. Carefully test your app on all platforms you intend to support to ensure that correct endianness is used on each platform.

Implements

M:Windows.Media.Protection.PlayReady.IPlayReadyLicense.GetKIDAtChainDepth(System.UInt32) M:Windows.Media.Protection.PlayReady.IPlayReadyLicense.GetKIDAtChainDepth(unsigned int) M:Windows.Media.Protection.PlayReady.IPlayReadyLicense.GetKIDAtChainDepth(uint32_t)

Remarks

The chainDepth parameter must be between the value of 0 and (PlayReadyLicense.ChainDepth - 1).

Applies to