SALES: 1-800-867-1380

ContentKeyBaseCollection.CreateAsync Method (Guid, Byte[], String)

Updated: December 4, 2013

Asynchronously creates a content key with the specifies key identifier and value.

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

public abstract Task<IContentKey> CreateAsync(
	Guid keyId,
	byte[] contentKey,
	string name
)

Parameters

keyId
Type: System.Guid
The key identifier.
contentKey
Type: System.Byte[]
The value of the content key.
name
Type: System.String
A friendly name for the content key.

Return Value

Type: System.Threading.Tasks.Task<IContentKey>
A function delegate that returns the future result to be available through the Task&lt;IContentKey&gt;.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft