How is MarshalByRefObject implemented?
-
14-04-2021 - |
Question
I would like to know how the MarshalByRefObject
is implimented and why does it make it possible to pass objects by reference in remoting.
Is it possible because of the implementation of the MarshalByRefObject
class, or does the remoting libraries just check whether the class derived from MarshalByRefObject
?
No correct solution
OTHER TIPS
The implementation of the MarshalByRefObject class itself is not that special; the important magic is implemented by the CLR (especially the JIT) at a low level. This has been discussed already as Jacob mentioned; some of the most useful information is in an article by 'cbrumme'.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow