Microsoft.WindowsAzure.MediaServices.Client.ContentKeyCollection.CreateAsync C# (CSharp) Method

CreateAsync() public method

Asynchronously creates a content key with the specified key identifier and value.
public CreateAsync ( System.Guid keyId, byte contentKey, string name ) : Task
keyId System.Guid The key identifier.
contentKey byte The value of the content key.
name string A friendly name for the content key.
return Task
        public override Task<IContentKey> CreateAsync(Guid keyId, byte[] contentKey, string name)
        {
            return CreateAsync(keyId, contentKey, name, ContentKeyType.CommonEncryption);
        }

Same methods

ContentKeyCollection::CreateAsync ( System.Guid keyId, byte contentKey, string name, ContentKeyType contentKeyType ) : Task