Acquiring 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 common scenario for acquiring licenses is when a user has a protected Windows Media file and tries to access the content for the first time. Because the Windows Media DRM Client Extended APIs are separate from ASF file handling routines, the basic license acquisition scenario, while supported, requires more API calls than using the Windows Media Format SDK and the Media Foundation SDK.

This section describes how to use the Windows Media DRM Client Extended APIs to acquire licenses that are stored in the local license store on a client computer. It contains the following topics.

Topic Description
Silent License Acquisition Describes how to acquire licenses without user intervention.
Non-Silent License Acquisition Describes how to acquire licenses when user intervention (such as paying for the content) is required.
License Pre-Delivery Describes how to pull licenses from a license server to a client computer.
Creating Licenses Locally Describes how to create your own licenses without downloading them from a license server and how to store them in the local license store.

 

Programming Guide