Share via


IContentKey.GetEncryptedKeyValue Method

Returns the value of the encrypted key.

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

Syntax

'Declaration
Function GetEncryptedKeyValue ( _
    certToEncryptTo As X509Certificate2 _
) As Byte()
'Usage
Dim instance As IContentKey 
Dim certToEncryptTo As X509Certificate2 
Dim returnValue As Byte()

returnValue = instance.GetEncryptedKeyValue(certToEncryptTo)
byte[] GetEncryptedKeyValue(
    X509Certificate2 certToEncryptTo
)
array<unsigned char>^ GetEncryptedKeyValue(
    X509Certificate2^ certToEncryptTo
)
abstract GetEncryptedKeyValue : 
        certToEncryptTo:X509Certificate2 -> byte[] 
function GetEncryptedKeyValue(
    certToEncryptTo : X509Certificate2
) : byte[]

Parameters

Return Value

Type: array<System.Byte[]
The value of the encrypted key.

See Also

Reference

IContentKey Interface

Microsoft.WindowsAzure.MediaServices.Client Namespace