Share via


MediaStreamSource.AddProtectionKey 메서드

정의

MediaProtectionManager에서 지정된 스트림을 암호화하고 암호 해독하는 데 사용하는 DRM(디지털 권한 관리) 보호 키를 추가합니다.

public:
 virtual void AddProtectionKey(IMediaStreamDescriptor ^ streamDescriptor, Platform::Array <byte> ^ keyIdentifier, Platform::Array <byte> ^ licenseData) = AddProtectionKey;
void AddProtectionKey(IMediaStreamDescriptor const& streamDescriptor, winrt::array_view <byte> const& keyIdentifier, winrt::array_view <byte> const& licenseData);
public void AddProtectionKey(IMediaStreamDescriptor streamDescriptor, byte[] keyIdentifier, byte[] licenseData);
function addProtectionKey(streamDescriptor, keyIdentifier, licenseData)
Public Sub AddProtectionKey (streamDescriptor As IMediaStreamDescriptor, keyIdentifier As Byte(), licenseData As Byte())

매개 변수

streamDescriptor
IMediaStreamDescriptor

키를 암호화하고 해독하는 데 사용되는 스트림입니다.

keyIdentifier

Byte[]

byte[]

스트림을 암호화하고 암호 해독하는 데 사용되는 키입니다.

licenseData

Byte[]

byte[]

미디어에 대한 DRM(디지털 권한 관리) 라이선스입니다.

적용 대상