How to enumerate members of COM object in C#?

后端 未结 3 1904
青春惊慌失措
青春惊慌失措 2020-12-09 13:34

I connect to some program via COM and receive System.__ComObject. I know several methods of it, so I can do like this:

object result = obj.GetType().InvokeMe         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 14:11

    You can use: http://www.nektra.com/products/deviare-api-hook-windows/

    It has a complete API provided as COM objects that can be used to get information and functions of all registered COM objects and intercept them.

提交回复
热议问题