The StoreLicense method stores a license on the consumer's computer.
[in] String containing the license response, with one or more licenses, returned from Response.GetLicenseResponse.
If the method succeeds, it returns S_OK. If it fails, it returns a number in the error object.
For player applications based on the Windows Media Format 7 SDK, there is a limitation to the number of licenses you can deliver by using this method. If more than approximately 10 licenses are issued with one call, the player application stops responding, and a stack overflow error appears if a debugger is used. The exact number depends on the size of your licenses. Because the error appears at the client and not the server, you should determine the license limit before you issue licenses to consumers. You can either test the process yourself or simply issue one license with each call to this method. This limitation does not occur in players based on Windows Media Format 9 Series SDK or later.
Version: Windows Media Rights Manager 7 SDK or later
Reference: msnetobj 1.0 Type Library
Platform: Windows Server 2003