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)

傳回

HdcpSession實例目前具有的保護層級。

備註

若要取得這個方法的輸出,請將它指派給 HdcpProtection類型的變數?:

HdcpProtection? protection = hdcpSession.GetEffectiveProtection();

然後,若要取得列舉的實際值,請使用 protection.Value

適用於