Beispiel #1
0
        public static bool CheckConnection(this MT4Manager manager)
        {
            var result = manager.IsConnected();

            if (!result)
            {
                return(result);
            }

            try
            {
                manager.Ping();
            }
            catch
            {
                result = false;
            }

            return(result);
        }