How to enable HDCP content protection through UWP Miracast API?

Gabriel Remus Linck Duarte 0 Reputation points
2023-11-21T15:22:03.3833333+00:00

Greetings!

I am developing a Miracast sink app following the UWP Miracast API documentation. Currently, standard projection of unprotected content works fine.

However, the API does not seem to enable HDCP (for Netflix, Prime etc) in the Miracast Session and I couldn't find in the documentation any way to do this. My hardware supports Miracast with HDCP as stated in the DxDiag report.

How do I turn it on for the session? Is this a limitation of the UWP API? Or must content protection be enabled through a different API?

Thanks.

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | .NET | Other
Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.