PlayReadyStatics.ProtectionSystemId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the PlayReady content protection system ID inside a PSSH box.
public:
static property Platform::Guid ProtectionSystemId { Platform::Guid get(); };
static winrt::guid ProtectionSystemId();
public static Guid ProtectionSystemId { get; }
var guid = PlayReadyStatics.protectionSystemId;
Public Shared ReadOnly Property ProtectionSystemId As Guid
Property Value
Specifies the PlayReady content protection system ID inside a PSSH box. This parameter is sensitive to the underlying platform's endianness. Carefully test your app on all platforms you intend to support to ensure that correct endianness is used on each platform.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
Previous releases of the PlayReady API required callers to hard-code a well-known string and GUID in their code. These APIs provide those values to the caller so they can request them rather than hard-coding them.
In the MediaProtectionManager.Properties property (a PropertySet object), the "Windows.Media.Protection.MediaProtectionContainerGuid" string maps to a GUID, which will typically be the following string: ```csharp "{" + Windows.Media.Protection.PlayReady.PlayReadyStatics.ProtectionSystemId.ToString().ToUpper() + "}"