LicenseResponse 類別

定義

public class LicenseResponse : Microsoft.Media.Drm.ProtocolResponse
type LicenseResponse = class
    inherit ProtocolResponse
Public Class LicenseResponse
Inherits ProtocolResponse
繼承

建構函式

LicenseResponse(ILicenseChallenge)

初始化 ILicenseChallenge 類別的新執行個體。

屬性

CustomData

取得或設定要當做回應一部分傳回給用戶端的服務特定資料。

(繼承來源 ProtocolResponse)
IncludeOptimizedContentKey2

取得或設定值,要求伺服器執行一個額外的 ECC 加密作業,以排除用戶端上的一或多個 ECC 解密作業 () 。

LicenseCount

取得目前新增至授權回應的授權數目。

LicenseServerTimeCertificate

取得或設定用來簽署傳回給用戶端之授權伺服器時間的憑證。

ServiceId

取得或設定服務的服務識別碼。

TransactionId

取得或設定授權回應中傳回的交易識別碼。

方法

AddLicense(License)

License將 加入至此回應。

GetLicenses()

License提供所有新增至授權回應的清單。

適用於