internal byte[] GetMarshalledDomainObjRef () { ObjRef oref = RemotingServices.Marshal (AppDomain.CurrentDomain, null, typeof (AppDomain)); return CADSerializer.SerializeObject (oref).GetBuffer(); } #endif