Downloading and Saving PlayReady contents

Topics: Windows Phone 8
May 5, 2014 at 2:26 PM
I have the following xaml
<mmppf:MediaPlayer x:Name="player" >
         <mmppf:MediaPlayer.Plugins>
               <adaptive:AdaptivePlugin />
           </mmppf:MediaPlayer.Plugins>
 </mmppf:MediaPlayer>
and at the page's load event
 player.Source = new Uri("http://playready.directtaps.net/smoothstreaming/SSWSS720H264PR/SuperSpeedway_720.ism/Manifest",UriKind.Absolute);
 LicenseAcquirer aquirer = new LicenseAcquirer();
 aquirer.LicenseServerUriOverride = new Uri("http://playready.directtaps.net/pr/svc/rightsmanager.asmx", UriKind.Absolute);
 aquirer.AcquireLicenseCompleted += aquirer_AcquireLicenseCompleted;
 player.LicenseAcquirer = aquirer;
and the aquirer_AcquireLicenseCompleted method
if (e.Error != null)
{                   
        // take appropriate action.  Might be retrying for instance.
}
else if (e.Cancelled)
{
     // take appropriate action.  Might be nothing.
     System.Diagnostics.Debug.WriteLine(e.Error.Message);
}
else
{
      //  We acquired the license successfully, go ahead and download
      //  the content.  Note the service decided to stash the content 
      //  url in the LicenseAcquirer response custom data.
      string contentAcquisitionUrl = e.ResponseCustomData;
      System.Diagnostics.Debug.WriteLine("Content Acquisation url is: "+contentAcquisitionUrl);
      //DownloadContent(contentAcquisitionUrl);
}
My question comes directly from the aquirer_AcquireLicenseCompleted method, as you see, i was trying to retrieve the url of the content for downloading. Actually, the content has a persistent license that will expire in one day, users can download the video to watch later offline. How can this be done?