BaseContentKeyCollection.Create Method (Guid, Byte[])
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a content key with the specified key identifier and value.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Usage
'Usage
Dim instance As BaseContentKeyCollection
Dim keyId As Guid
Dim contentKey As Byte()
Dim returnValue As IContentKey
returnValue = instance.Create(keyId, contentKey)
Syntax
'Declaration
Public Function Create ( _
keyId As Guid, _
contentKey As Byte() _
) As IContentKey
public IContentKey Create (
Guid keyId,
byte[] contentKey
)
public:
IContentKey^ Create (
Guid keyId,
array<unsigned char>^ contentKey
)
public IContentKey Create (
Guid keyId,
byte[] contentKey
)
public function Create (
keyId : Guid,
contentKey : byte[]
) : IContentKey
Parameters
- keyId
The key identifier.
- contentKey
The value of the content key.
Return Value
A IContentKey that can be associated with an IAsset.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 7, Windows Server 2008, Windows 8 Beta
Target Platforms
See Also
Reference
BaseContentKeyCollection Class
BaseContentKeyCollection Members
Microsoft.WindowsAzure.MediaServices.Client Namespace
Build Date:
2012-06-07