public static void GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
{
if (obj == null)
{
throw new ArgumentNullException("obj");
}
if (info==null) {
throw new ArgumentNullException("info");
}
ObjRef or = RemotingServices.MarshalInternal(
(MarshalByRefObject)obj,
null,
null);
or.GetObjectData(info, context);
} // GetObjectData