public bool IsFromThisProcess() { if (this.IsWellKnown()) { return(false); } CrossAppDomainData appDomainChannelData = this.GetAppDomainChannelData(); return(appDomainChannelData != null && appDomainChannelData.IsFromThisProcess()); }
public bool IsFromThisProcess() { //Wellknown objects may or may not be in the same process //Hence return false; if (IsWellKnown()) { return(false); } CrossAppDomainData xadData = GetAppDomainChannelData(); if (xadData != null) { return(xadData.IsFromThisProcess()); } return(false); }