Share via


IPlayReadyLicense.GetKIDAtChainDepth(UInt32) Method

Definition

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

public:
 Platform::Guid GetKIDAtChainDepth(unsigned int chainDepth);
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.

Remarks

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

Applies to