RMGetLicense.GetLicenseFromURLAsync
Previous | Next |
RMGetLicense.GetLicenseFromURLAsync
The GetLicenseFromURLAsync method creates a separate thread to send a license request and retrieve a license.
Syntax
GetLicense .GetLicenseFromURLAsync (bstrHeader, bstrURL)
Parameters
bstrHeader
[in] String containing the consumer portion of a license request.
bstrURL
[in] String containing a URL. The license challenge data is sent to this URL using an HTML POST.
Return Values
This method does not return a value.
Remarks
This method creates a separate thread and uses this thread to call GetLicenseFromURL. This method returns immediately after starting the thread. You should call GetAsyncCallStatus to determine the status of the last call to GetLicenseFromURLAsync.
This method is useful if you embed a player in a Web page and want to deliver multiple licenses while the player is playing something else.
Requirements
Version: Windows Media Rights Manager 7 SDK or later
Reference: msnetobj 1.0 Type Library
Library: msnetobj.dll
Platform: Windows Server 2003
See Also
- Predelivering a License By Using the GetLicenseFromURL Method
- RMGetLicense Object
- RMGetLicense.GetSystemInfo
- WMRMChallenge Object
- WMRMChallenge.Header
- WMRMHeader Object
Previous | Next |