public static IServiceRequest GetRequest(IAsyncResult ar) { SendRequestAsyncResult result = ar as SendRequestAsyncResult; if (result != null) { return result.m_request; } return null; } #endregion