EncryptionUtils.CalculateChecksum Method
Calculates the checksum.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Shared Function CalculateChecksum ( _
contentKey As Byte(), _
keyId As Guid _
) As String
'Usage
Dim contentKey As Byte()
Dim keyId As Guid
Dim returnValue As String
returnValue = EncryptionUtils.CalculateChecksum(contentKey, _
keyId)
public static string CalculateChecksum(
byte[] contentKey,
Guid keyId
)
public:
static String^ CalculateChecksum(
array<unsigned char>^ contentKey,
Guid keyId
)
static member CalculateChecksum :
contentKey:byte[] *
keyId:Guid -> string
public static function CalculateChecksum(
contentKey : byte[],
keyId : Guid
) : String
Parameters
- contentKey
Type: array<System.Byte[]
The content key.
- keyId
Type: System.Guid
The key id.
Return Value
Type: System.String
The checksum.