PlayReady WinJS sample and custom license request

Topics: Windows 8 JavaScript
Apr 20, 2013 at 8:10 PM
Is it possible to customize the license request call in WinJS?

I need the capability of injecting custom headers during the license request call, like using a custom license acquirer on WinJS.

I'm able to do it in the C# sample but I need the same capability in WinJS.

Thank you very much,
Davide Zordan
Apr 27, 2013 at 9:30 AM
I've found a solution by replacing the default service request call with a custom one.

Jul 18, 2013 at 9:23 PM
Could you explain how did you solved this, please?

Jul 19, 2013 at 7:17 PM
Edited Jun 12, 2014 at 1:08 PM
Hi Daniel,
you can start with this sample and then use the methods generateManualEnablingChallenge() / processManualEnablingResponse() of the service request. More details here:

A complete sample using generateManualEnablingChallenge() / processManualEnablingResponse() is also available here: