PlayReadyLicense.GetKIDAtChainDepth(UInt32) 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 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
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
Remarks
The chainDepth parameter must be between the value of 0 and (PlayReadyLicense.ChainDepth - 1).