INDStreamParserNotifier.OnBeginSetupDecryptor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當資料流程剖析器要求安裝解密程式時,由資料流程剖析器呼叫。
public:
void OnBeginSetupDecryptor(IMediaStreamDescriptor ^ descriptor, Platform::Guid keyID, Platform::Array <byte> ^ proBytes);
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[]
用來建立解密程式的 PlayReadyObject 位元組陣列。 對於 MPEG2 TS,PlayReadyObject 位於 ECM) 封包 (權利控制訊息中。
- 屬性