Given an object reference, is it possible to programmatically determine if the object was created in the current appdomain or instead is a proxy to an object in another appdomain?
+2
A:
Try the following
var isProxy = RemotingServices.IsTransparentProxy(obj);
JaredPar
2010-01-06 22:28:15
Goodness, I knew it had to be something I was overlooking. I was all over the System.Runtime.Remoting.Proxies namespace, which was just one step too far. Duh. And thanks.
oakskc
2010-01-06 22:32:59