Partager via


Issuing Version 1 Licenses to Macintosh Users

banner art

Previous Next

Issuing Version 1 Licenses to Macintosh Users

The following steps describe how to issue a version 1 license to a Macintosh computer user, using the Windows Media Rights Manager 10.1.2 SDK. The files described here are included in the sample files saved in the WMRM\Samples directory included with the Windows Media Rights Manager SDK.

To Issue a Version 1 License for a Macintosh User:

  1. Use Microsoft Internet Explorer to open the file Package.asp.
  2. In Version 1 license acquisition URL, enter v1LicM.asp.
  3. Complete the remaining fields.
  4. Package the content.
  5. Embed a player in the generated Web page (see the following example code).

How it Works

When a client sends a challenge for a version 1 license to the server, v1LicM.asp is run This file uses the GenV1Lic() function to create a version 1 license object called v1licObj. The v1licObj license object then issues a version 1 license by calling v1licObj.IssueLicense(). The license must be stored in an embedded player.

Note   Some sample pages, such as licenseM.asp (a downloaded sample page), use the following script syntax to store the license:

  

This syntax will not work on the Macintosh. Instead, you should use an embedded player to store the license. You can do this by replacing the previous syntax with the following code:

  

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.