Hello,
I'm writing a .NET component to be used both by other .net clients and by legacy applications via COM interop. During recearch I faced expected problem: there is no configuration in case assembly was invoked via interop.
So now I need to design a workaround for cases my component was invoked via COM (using some default configuration instead of client's). The question is - what is most convenient and correct way to determine whether the caller is COM component. Some properties or AppDomain state, probably?
Thanks in advance.