static bool SendAlarmMessage(HttpWebClient cli, Arguments a) { "Perform Alarm(Code={0}, Title={1}, Text={2})".LogVerbose (a.Code, a.Title, a.Text); var authToken = ConfigurationContainer.Instance.GetAuthToken (); //ServicePointManager.UseNagleAlgorithm = false; //Http.Get (a.Code, a.Title, a.Text); var result = cli.PerformAlarm (authToken, a.Code, a.Title, a.Text); return result.Successful; }