Skip to main content
MediaProtectionManager.Properties | properties property

Gets a PropertySet object containing any properties attached to the protection manager.

Syntax


var properties = mediaProtectionManager.properties;

public IPropertySet Properties { get; }

Public ReadOnly Property Properties As IPropertySet

public:
property IPropertySet^ Properties { 
   IPropertySet^ get();
}

Property value

Type: IPropertySet

The PropertySet object that contains the properties for this protection manager.

Error codes

Returns S_OK if successful. Returns a failure code if an error occurs.

Remarks

The following properties are defined:

NameTypeDescription
Windows.Media.Protection.VideoFrameAccessCertificate UINT8 ArrayApplication certificate for accessing frames in frame server mode.
Windows.Media.Protection.MediaProtectionSystemIdGUIDProtection System ID
Windows.Media.Protection.MediaProtectionSystemContextUINT8 ArrayData associated with protection system for the current content.
Windows.Media.Protection.MediaProtectionSystemIdMappingIPropertySetReturns a mapping of the protection system id to the string for activating the trusted input object. The string for the protection system id must be in the format of a GUID (include {}) in upper case. This maps to a class name in the content protection system.
Windows.Media.Protection.MediaProtectionContainerGuidGUIDSpecifies the Digital Rights Management (DRM) scheme.

 

Examples


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

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

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

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Protection
Windows::Media::Protection [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Protection
Windows::Media::Protection [C++]

Metadata

Windows.winmd

See also

MediaProtectionManager