ContentKeyBaseCollection.Create Method (Guid, Byte[])
Creates a content key with the specific key identifier and value.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Function Create ( _
keyId As Guid, _
contentKey As Byte() _
) As IContentKey
'Usage
Dim instance As ContentKeyBaseCollection
Dim keyId As Guid
Dim contentKey As Byte()
Dim returnValue As IContentKey
returnValue = instance.Create(keyId, contentKey)
public IContentKey Create(
Guid keyId,
byte[] contentKey
)
public:
IContentKey^ Create(
Guid keyId,
array<unsigned char>^ contentKey
)
member Create :
keyId:Guid *
contentKey:byte[] -> IContentKey
public function Create(
keyId : Guid,
contentKey : byte[]
) : IContentKey
Parameters
- keyId
Type: System.Guid
The key identifier.
- contentKey
Type: array<System.Byte[]
The value of the content key.
Return Value
Type: Microsoft.WindowsAzure.MediaServices.Client.IContentKey
Returns IContentKey that can be associated with an IAsset.