MediaProtectionManager.Properties 屬性

定義

取得 PropertySet 物件,其中包含附加至保護管理員的任何屬性。

public:
 property IPropertySet ^ Properties { IPropertySet ^ get(); };
IPropertySet Properties();
public IPropertySet Properties { get; }
var iPropertySet = mediaProtectionManager.properties;
Public ReadOnly Property Properties As IPropertySet

屬性值

PropertySet 物件,其中包含這個保護管理員的屬性。

範例

var cpsystems = new Windows.Foundation.Collections.PropertySet();

cpsystems["{1891D602-6F0A-40F7-90A1-3C24564F6D77}"] = "TestDRMInstall.Objects.AsfTrustedInput";

contentProtectionManager.Properties["Windows.Media.Protection.MediaProtectionSystemIdMapping"] = cpsystems;

備註

定義下列屬性:

名稱類型描述
Windows.Media.Protection.VideoFrameAccessCertificateUINT8 陣列用於在框架伺服器模式中存取框架的應用程式憑證。
Windows.Media.Protection.MediaProtectionSystemIdGUID保護系統識別碼
Windows.Media.Protection.MediaProtectionSystemCoNtextUINT8 陣列與目前內容保護系統相關聯的資料。
Windows.Media.Protection.MediaProtectionSystemIdMappingIPropertySet傳回保護系統識別碼與字串的對應,以啟用信任的輸入物件。 保護系統識別碼的字串必須是 GUID 格式, (以大寫包含 {}) 。 這會對應至內容保護系統中的類別名稱。
Windows.Media.Protection.MediaProtectionContainerGuidGUID指定數位版權管理 (DRM) 配置。

適用於