Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.33 KB

hdcpsession_setdesiredminprotectionasync_610206797.md

File metadata and controls

27 lines (19 loc) · 1.33 KB
-api-id -api-type
M:Windows.Media.Protection.HdcpSession.SetDesiredMinProtectionAsync(Windows.Media.Protection.HdcpProtection)
winrt method

Windows.Media.Protection.HdcpSession.SetDesiredMinProtectionAsync

-description

Asynchronously attempts to set the protection of the HdcpSession instance with the given protection level.

-parameters

-param protection

The level of protection at which to set the HdcpSession instance.

-returns

The result of the operation.

-remarks

It is a good idea to listen for the Completed event on this function, and then to check the results by calling GetResults on the operation and compare it to the values of the HdcpSetProtectionResult enumeration. This way, you can implement your own logic depending on the result of trying to set HDCP. For a usage example, see HdcpSession.

-examples

-see-also