The license issuer uses the WMRMLicGen object to create a license. Each license needs a separate instance of this object. A license consists of the following items:
The key used to encrypt the content and key ID.
The rights that govern playing of the content on the consumer's computer.
Optional attributes (name-value pairs) that help identify the license.
The priority of the license with respect to other licenses for the same Windows Media file.
The certificate, issued by Windows Media License Service, that identifies the license issuer's authority to create a license.
The WMRMLicGen object exposes the following properties and methods.