Share via


CommonEncryption.GeneratePlayReadyContentKey Method

Generates the play ready content key.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Shared Function GeneratePlayReadyContentKey ( _
    keySeed As Byte(), _
    keyId As Guid _
) As Byte()
'Usage
Dim keySeed As Byte()
Dim keyId As Guid 
Dim returnValue As Byte()

returnValue = CommonEncryption.GeneratePlayReadyContentKey(keySeed, _
    keyId)
public static byte[] GeneratePlayReadyContentKey(
    byte[] keySeed,
    Guid keyId
)
public:
static array<unsigned char>^ GeneratePlayReadyContentKey(
    array<unsigned char>^ keySeed, 
    Guid keyId
)
static member GeneratePlayReadyContentKey : 
        keySeed:byte[] * 
        keyId:Guid -> byte[] 
public static function GeneratePlayReadyContentKey(
    keySeed : byte[], 
    keyId : Guid
) : byte[]

Parameters

Return Value

Type: array<System.Byte[]
Returns Byte, which contains the content key..

See Also

Reference

CommonEncryption Class

Microsoft.WindowsAzure.MediaServices.Client Namespace