private void SendMachineName(object sender, ElapsedEventArgs e) { try { service.PostApi(); } catch (Exception) { throw; } }