Let's say I want to catch a COM event:
The preliminary documentation says to do something as so:
ComAutomationEvent on_event = ComAutomationFactory.GetEvent(some_COM_obj, "SomeEvent");
on_event.EventRaised += OnEvent;
OnEvent sig is as follows:
private void OnEvent(object sender, ComAutomationEventArgs e)
ComAutomationEventArgs contains a "Arguments" property, which is of type object[].
Now, how exactly am I supposed to know what actual type the arguments are suppose to be? Are they COM types which require the "dynamic" keyword, or are they something else?