HdcpSession.GetEffectiveProtection Method

Definition

Returns the effective protection of the HdcpSession instance.

public:
 virtual IReference<HdcpProtection> ^ GetEffectiveProtection() = GetEffectiveProtection;
IReference<HdcpProtection> GetEffectiveProtection();
public System.Nullable<HdcpProtection> GetEffectiveProtection();
function getEffectiveProtection()
Public Function GetEffectiveProtection () As Nullable(Of HdcpProtection)

Returns

The level of protection that the HdcpSession instance currently has.

Remarks

To get the output of this method, assign it to a variable of type HdcpProtection?:

HdcpProtection? protection = hdcpSession.GetEffectiveProtection();

Then, to get the actual value of the enumeration, use protection.Value.

Applies to