Method InvokeScriptAsync
InvokeScriptAsync(string, IntPtr, params object[])
Executes the given JavaScript function asynchronously and returns the result via a ScriptResult event.
void InvokeScriptAsync(string scriptName, IntPtr clientData, params object[] args)
Parameters
scriptName
stringThe name of the script function to execute.
clientData
nintArbirary pointer to data that can be retrieved from the result event. You can use IntPtr.Zero, new IntPtr(SomeInt) or some useful data in this parameter.
args
object[]The parameters to pass to the script function.