C# Class Microsoft.WindowsAzure.MediaServices.Client.ContentKeyCollection

Represents a collection of IContentKey.
Inheritance: ContentKeyBaseCollection
Mostra file Open project: Azure/azure-sdk-for-media-services Class Usage Examples

Public Methods

Method Description
Create ( System.Guid keyId, byte contentKey, string name ) : IContentKey

Creates a content key with the specified key identifier and value.

Create ( System.Guid keyId, byte contentKey, string name, ContentKeyType contentKeyType ) : IContentKey

Creates a content key with the specified key identifier and value.

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

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

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

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

Private Methods

Method Description
ContentKeyCollection ( MediaContextBase cloudMediaContext ) : System

Initializes a new instance of the ContentKeyCollection class.

Method Details

Create() public method

Creates a content key with the specified key identifier and value.
public Create ( System.Guid keyId, byte contentKey, string name ) : IContentKey
keyId System.Guid The key identifier.
contentKey byte The value of the content key.
name string A friendly name for the content key.
return IContentKey

Create() public method

Creates a content key with the specified key identifier and value.
public Create ( System.Guid keyId, byte contentKey, string name, ContentKeyType contentKeyType ) : IContentKey
keyId System.Guid The key identifier.
contentKey byte The value of the content key.
name string A friendly name for the content key.
contentKeyType ContentKeyType Type of content key to create.
return IContentKey

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

CreateAsync() public method

Asynchronously creates a content key with the specifies key identifier and value.
public CreateAsync ( System.Guid keyId, byte contentKey, string name, ContentKeyType contentKeyType ) : Task
keyId System.Guid The key identifier.
contentKey byte The value of the content key.
name string A friendly name for the content key.
contentKeyType ContentKeyType Type of content key to create.
return Task