NDTCPMessenger.SendRegistrationRequestAsync(Byte[], Byte[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在非同步註冊要求訊息中傳送指定的資料。
public:
virtual IAsyncOperation<INDSendResult ^> ^ SendRegistrationRequestAsync(Platform::Array <byte> ^ sessionIDBytes, Platform::Array <byte> ^ challengeDataBytes) = SendRegistrationRequestAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(winrt::array_view <byte> const& sessionIDBytes, winrt::array_view <byte> const& challengeDataBytes);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("INDMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(winrt::array_view <byte> const& sessionIDBytes, winrt::array_view <byte> const& challengeDataBytes);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(byte[] sessionIDBytes, byte[] challengeDataBytes);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("INDMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(byte[] sessionIDBytes, byte[] challengeDataBytes);
function sendRegistrationRequestAsync(sessionIDBytes, challengeDataBytes)
Public Function SendRegistrationRequestAsync (sessionIDBytes As Byte(), challengeDataBytes As Byte()) As IAsyncOperation(Of INDSendResult)
參數
- sessionIDBytes
-
Byte[]
byte[]
工作階段識別項。 會話識別碼必須是 16 個位元組。
- challengeDataBytes
-
Byte[]
byte[]
挑戰訊息的資料。
傳回
註冊要求的結果。
實作
M:Windows.Media.Protection.PlayReady.INDMessenger.SendRegistrationRequestAsync(System.Byte[],System.Byte[])
M:Windows.Media.Protection.PlayReady.INDMessenger.SendRegistrationRequestAsync(byte[],byte[])
- 屬性