lundi 2 novembre 2015

How to Find the assembly where an object had been created?

I am trying to find the first place where an object has been created:(When it's constructor has been called). ex: Let's say I have A objA= new A(); in a DLL "DLL_A". The objA obejct has been passed via many calls until we arrived to a DLL_B where we handle this object "objA".

Is there any reflection method/way to know in DLL_B that the Object Obj_A is created in DLL_A ?





Aucun commentaire:

Enregistrer un commentaire