DotNetDispatcher.ReceiveByteArray(JSRuntime, Int32, Byte[]) Method

Definition

Accepts the byte array data being transferred from JS to DotNet.

public static void ReceiveByteArray (Microsoft.JSInterop.JSRuntime jsRuntime, int id, byte[] data);
static member ReceiveByteArray : Microsoft.JSInterop.JSRuntime * int * byte[] -> unit
Public Shared Sub ReceiveByteArray (jsRuntime As JSRuntime, id As Integer, data As Byte())

Parameters

jsRuntime
JSRuntime

The JSRuntime.

id
Int32

Identifier for the byte array being transfered.

data
Byte[]

Byte array to be transfered from JS.

Applies to