다음을 통해 공유


PlayReadyStatics.InputTrustAuthorityToCreate 속성

정의

PlayReady 신뢰할 수 있는 입력 활성화 문자열을 가져옵니다.

public:
 static property Platform::String ^ InputTrustAuthorityToCreate { Platform::String ^ get(); };
static winrt::hstring InputTrustAuthorityToCreate();
public static string InputTrustAuthorityToCreate { get; }
var string = PlayReadyStatics.inputTrustAuthorityToCreate;
Public Shared ReadOnly Property InputTrustAuthorityToCreate As String

속성 값

String

Platform::String

winrt::hstring

PlayReady 신뢰할 수 있는 입력 활성화 문자열입니다. 이 문자열은 Media Protection Manager에서 미디어 원본에 만들 ITA(입력 신뢰 기관)를 알리는 데 사용됩니다.

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)

설명

PlayReady API의 이전 릴리스에서는 호출자가 코드에서 잘 알려진 문자열 및 GUID 를 하드 코딩해야 했습니다. 이러한 API는 이러한 값을 호출자에게 제공하므로 하드 코딩하는 대신 요청할 수 있습니다.

MediaProtectionManager.Properties 속성(PropertySet 개체)에서 "Windows.Media.Protection.MediaProtectionSystemIdMapping" 문자열은 다른 PropertySet에 매핑됩니다. 그러면 일반적으로 "Windows.Media.Protection.PlayReady.PlayReadyStatics.MediaProtectionSystemId" 문자열이 Windows.Media.Protection.PlayReady.PlayReadyStatics.InputTrustAuthorityToCreate에 매핑됩니다.

MediaProtectionManager protectionManager = new MediaProtectionManager();
protectionManager.Properties.Add(
    "Windows.Media.Protection.MediaProtectionContainerGuid", 
    PlayReadyStatics.ProtectionSystemId.ToString());
Windows.Foundation.Collections.PropertySet cpSystems = 
    new Windows.Foundation.Collections.PropertySet();
cpSystems.Add(
    PlayReadyStatics.MediaProtectionSystemId.ToString(), 
    PlayReadyStatics.InputTrustAuthorityToCreate);

적용 대상