Skip to content

PlayReady UWP SDK Guide

DoveRunner PlayReady UWP SDK makes it easy to apply Microsoft’s PlayReady DRM when developing media service apps for Universal Windows Platform (UWP). This document describes how to use the libraries and sample projects included in the SDK.

Details of DoveRunner Multi DRM service integration are provided in License Token Guide. For technical questions about using the SDK, please visit our Helpdesk site.

  • Windows 10 1809 version or later
  • XBox One 10 or later
  • This SDK is developed and tested on Visual Studio 2017(version 15).

  • You need to sign up on DoveRunner Console Site to get Site ID and Site Key, and prepare DASH content using DoveRunner Packager.

  • You cannot test DoveRunner PlayReady UWP SDK Sample to play DASH content until the above is done.

PlayReady UWP SDK supports two DRM license acquisition methods:

A method of pre-acquiring a license with an explicit request before the client starts playing the DRM content. This method is typically used in offline playback scenarios.

In this approach, the client application does not explicitly acquire a license prior to playing the content. Instead, at the start of playback of DRM content, the PlayReady media player internally requests and acquires the license required for playback from the server. You would typically use this approach in streaming playback scenarios.

You can apply DoveRunner PlayReady UWP SDK by following steps:

  1. Extract downloaded SDK zip file.
  2. Add the PallyConPRSDK.dll file provided in lib folder to your UWP application project.
  3. Declare and implement the followings: using PallyConPRSDK;, using PallyConSDK.DownloadTask; using PallyConSDK.DownloadTask.ProxyServer;

For details on how to play DRM content using the PlayReady UWP SDK, please refer to the SDK sample code in the GitHub repository. (See PallyConPRSDKWrapper.cs source code)

Hardware-based PlayReady DRM is supported on a variety of devices, including Windows 10 PCs, Smart TVs, XBOX game consoles and tablets. Windows PCs must be running Windows 10 and include a supported hardware configuration in order to support PlayReady hardware DRM. Please check Microsoft PlayReady Hardware DRM webpage for more information.