private bool ValidHost(MMonitor mMonitor) { try { string Prosper = null; var conn = mMonitor.Monitor(ref Prosper); if (conn.Count() > 0) { return(true); } return(false); } catch (Exception ex) { throw new Exception(ex.Message); } }