Licenses

[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.]

A license is a set of data that describes the conditions under which data in protected files can be read. Each license applies to a key identifier, which is typically assigned to a single media file. This identifier is what is used to identify the protected content in the license.

Each license specifies one or more actions that can be performed with the protected content. These actions, also called rights, can be limited in a number of ways. By combining start dates, end dates, counts, and time limits, the license issuer can create almost any imaginable limitation on a right.

Licenses are issued by a Web service. When a license is acquired, it is stored on the client computer in the local license store, which is a protected file that contains licenses and other DRM data. When protected content is accessed by an application, the DRM subsystem searches the local license store for a license that grants the appropriate right. If no license is found, the application can acquire one based on information stored in the DRM header of the file.

Multiple licenses can be issued for the same protected file. When the DRM subsystem determines whether an action is allowed, it aggregates the rights from all licenses that apply. Each license can be assigned a priority. If more than one license applies to an action, the highest priority license is checked to determine whether counts need to be decremented.

Concepts