ClientKeySet Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents all the keys to which a specific client has access. This class is used to build scalable root licenses. ContentEncryptionKey must be set to to an instance of this class to generate a scalable root license.
public class ClientKeySet : Microsoft.Media.Drm.ContentKey
type ClientKeySet = class
inherit ContentKey
Public Class ClientKeySet
Inherits ContentKey
- Inheritance
Constructors
ClientKeySet(MasterKeySet) |
Initializes a new instance of the ClientKeySet class |
Properties
EncryptionType |
Gets the ContentKeyType of the content key. (Inherited from ContentKey) |
KeyId |
Gets the key identifier of the content key. (Inherited from ContentKey) |
KeyIdAsString |
Gets the string representation of the key identifier of the content key. (Inherited from ContentKey) |
KeyType |
Gets the ContentKeyType for this key. |
SourceMasterKeySet |
Gets the MasterKeySet that was passed to ClientKeySet(MasterKeySet). |
Methods
AddRegionMembership(Int32, Int32) |
Adds a region to which the client (the license is issued to) belongs. A client can belong to only one region in a specifc region set; a client can belong to regions in different region sets. |
AddService(Int32) |
Adds a service to which the client (the license is issued to) has access. |
AddServiceRange(Int32, Int32) |
Adds a range of services to which the client (the license is issued to) has access. |
AddServices(Int32[]) |
Adds services to which the client (the license is issued to) has access. |
GetKeyData() |
Gets the binary key data of the content key. (Inherited from ContentKey) |
GetKeyIdAsString() |
Returns the string representation of the key identifier of the content key. Returns the same value as KeyIdAsString (Inherited from ContentKey) |