Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaProtectionManager.Properties | properties property

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

Syntax


var properties = mediaProtectionManager.properties;

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 (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

 

 

Show:
© 2015 Microsoft