Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


The DRM_LicenseID property contains a string retrieved from the license associated with the currently open file that uniquely identifies that license.

Global Constant


Data Type



This attribute is present with DRM Version 7 content only. It can be set using IWMDRMWriter::SetDRMAttribute and it can be retrieved with IWMDRMReader::GetDRMProperty.

The license ID is stored in a license, not in an ASF file. Each individual license has a unique ID which is assigned by the license generator at the time the license is created. For example, if you obtain two licenses for the same content, each one will have a different LicenseID attribute. Typically, applications have no need to retrieve this value.

See also

Attribute List



Community Additions

© 2015 Microsoft