public static bool IsOneWay(MethodBase method) { if (method == null) return false; RemotingMethodCachedData cache = InternalRemotingServices.GetReflectionCachedData(method); return cache.IsOneWayMethod(); }