HdcpSession.GetEffectiveProtection 方法

定义

返回 HdcpSession 实例的有效保护。

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

返回

IReference<HdcpProtection>

Nullable<HdcpProtection>

HdcpSession 实例当前具有的保护级别。

注解

若要获取此方法的输出,请将其分配给 HdcpProtection 类型的变量?:

HdcpProtection? protection = hdcpSession.GetEffectiveProtection();

然后,若要获取枚举的实际值,请使用 protection.Value

适用于