DRM_BaseLicenseAcqURL

[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 DRM_BaseLicenseAcqURL attribute contains a partial, base URL to which a player application must navigate to obtain a license for the content.

Global Constant

g_wszWMDRM_BaseLicenseAcqURL

Data Type

WMT_TYPE_STRING

Remarks

This is an optional read-write property that is set and retrieved using IWMDRMReader::GetDRMProperty. It is provided to enable license distribution systems to use relative paths in the license acquisition URL properties.

After setting this property, all partial license acquisition URLs in content headers will have the base URL added to the front of the partial URL to form a full URL for the player application to navigate to. Calling IWMDRMReader::GetDRMProperty for DRM_BaseLicenseAcqURL will only work only in the same session as it was set. The property is not stored in the content header; it is dynamic, and only the relative URL is stored in the content.

See also

DRM Properties