programmatically deleted cached persistant Playready License

360 views Asked by At

I am currently working on a system where there is a clear use case to over write the current Playready DRM licence that the player is currently using to decrypt a live stream. (using Silverlight and SMFPlayer) - this is to clear the current licence to force a request for a new one for the same content.

We could achieve this by destroying the player element and and reloading in the same stream url. using non persistant licences.

however we would like not to have to refresh the player object.

Is there a way to programmatically clear the cached Playready licence?

thanks

1

There are 1 answers

2
Sander On

No, it is not possible to programmatically achieve this. The only Silverlight methods available to access the license store are on the LicenseManagement class which simply allows you to check whether licenses are stored for a given key ID.

The fact that you need to do this at all tells me that something is not as it should be in your licensing workflow - if you can expand on what your actual goals are (either by editing this question or by posting a new one), I might be able to propose a better solution.