IWMDRMLicense interface
[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The IWMDRMLicense interface represents a list of one or more licenses.
Members
The IWMDRMLicense interface inherits from the IUnknown interface. IWMDRMLicense also has these types of members:
Methods
The IWMDRMLicense interface has these methods.
Method | Description |
---|---|
CanPersist | Queries whether the license can be persisted on in a local license store. |
CreateDecryptor | Creates a decryptor object using the settings of the current license. |
CreateEncryptor | Creates an encryptor object using the settings of the current license. |
CreateSecureDecryptor | Creates a secure decryptor object. The secure decryptor differs from the normal decryptor in that it decrypts the content and then re-encrypts it according to the settings specified in the parameters of this method. |
GetAnalogVideoRestrictionLevels | Retrieves all analog video restrictions set on the current license. |
GetInclusionList | Retrieves the entire inclusion list for the current license or license chain. |
GetLicense | Retrieves the license as Extensible Markup Language (XML) or Extensible Media Rights (XMR) data. |
GetLicenseProperty | Retrieves a property from the current license. |
GetNext | Loads the information about the next license in the list. |
GetOutputProtectionLevels | Retrieves information about all output protection levels (OPLs) assigned to the license. |
PersistLicense | Saves the current license from the temporary store into the permanent local license store. |
ResetEnumeration | Resets the license list to its original state. |