I'm returning some data from my JavaScript code to my C# code via COM Interop and the WebBrowser WPF control. I have successfully returned the data which looks like this in Javascript:
var result = new Array();
result[0] = cbCamera.selectedItem;
result[1] = cbMicrophone.selectedItem;
Now I have the object result in C# which looks like this:
result.GetType();
{Name = "__ComObject" FullName = "System.__ComObject"}
How can I get the javascript strings contained in this array which is in this ComObject?