public static Object GetLifetimeService(MarshalByRefObject obj) { if(null != obj) { return obj.GetLifetimeService(); } else { return null; } }