internal static Object UnmarshalReturnMessageFromBuffer(byte [] b, IMethodCallMessage msg)
{
MemoryStream stm = new MemoryStream(b);
BinaryFormatter fmt = new BinaryFormatter();
fmt.SurrogateSelector = null;
fmt.Context = new StreamingContext(StreamingContextStates.Other);
Object o = fmt.DeserializeMethodResponse(stm, null, (IMethodCallMessage)msg);
//= fmt.Deserialize(stm, null, false /* No Security check */);
return o;
}