简体   繁体   中英

Can I detect whether the video display on a windows PC is HDCP enabled in c#

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?

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM