6

I am developing a WPF application which will play a protected video in a windows media player instance. I have to ensure that the display device is HDCP enabled before playing the video. If the device isn't HDCP enabled, video playing is not allowed.

How can i do this in c# in WPF application?

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Kartik
  • 1,506
  • 2
  • 17
  • 28

1 Answers1

3

Silverlight has VideoOutputConnector.CanEnableHdcp but AFAIK in WPF you have to use interop.

Here's an MSDN article on using Output Protection Manager.

Charles
  • 50,943
  • 13
  • 104
  • 142
Mark Feldman
  • 15,731
  • 3
  • 31
  • 58