NDStreamParserNotifier.OnBeginSetupDecryptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由流分析程序在请求安装解密器时调用。
public:
virtual void OnBeginSetupDecryptor(IMediaStreamDescriptor ^ descriptor, Platform::Guid keyID, Platform::Array <byte> ^ proBytes) = OnBeginSetupDecryptor;
void OnBeginSetupDecryptor(IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, winrt::array_view <byte> const& proBytes);
/// [Windows.Foundation.Metadata.Deprecated("INDStreamParserNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
void OnBeginSetupDecryptor(IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, winrt::array_view <byte> const& proBytes);
public void OnBeginSetupDecryptor(IMediaStreamDescriptor descriptor, Guid keyID, byte[] proBytes);
[Windows.Foundation.Metadata.Deprecated("INDStreamParserNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public void OnBeginSetupDecryptor(IMediaStreamDescriptor descriptor, Guid keyID, byte[] proBytes);
function onBeginSetupDecryptor(descriptor, keyID, proBytes)
Public Sub OnBeginSetupDecryptor (descriptor As IMediaStreamDescriptor, keyID As Guid, proBytes As Byte())
参数
- descriptor
- IMediaStreamDescriptor
正在解密的媒体流的描述符。
- keyID
-
Guid
Platform::Guid
winrt::guid
用于解密的密钥标识符。
- proBytes
-
Byte[]
byte[]
安装解密器的数据。
实现
M:Windows.Media.Protection.PlayReady.INDStreamParserNotifier.OnBeginSetupDecryptor(Windows.Media.Core.IMediaStreamDescriptor,System.Guid,System.Byte[])
M:Windows.Media.Protection.PlayReady.INDStreamParserNotifier.OnBeginSetupDecryptor(Windows.Media.Core.IMediaStreamDescriptor,Platform::Guid,byte[])
M:Windows.Media.Protection.PlayReady.INDStreamParserNotifier.OnBeginSetupDecryptor(Windows.Media.Core.IMediaStreamDescriptor,winrt::guid,byte[])
- 属性