我知道有一种方法,我知道我之前已经做过很长时间了,但是我不记得或者知道该怎么做!!!
var otherDomain = AppDomain.Create("Lol my memory sucks");
var myRemotableType = typeof(MyTypeThatExtendsMBRO);
var proxy = otherDomain
.CreateInstanceAndUnwrap(
type.Assembly.FullName,
type.FullName);
// how do you do this next step???
bool isProxy = IsYouIsOrIsYouAintAProxy(proxy);