Exemplo n.º 1
0
        public string Ping()
        {
            try
            {
                AuthApi authAPI  = new AuthApi(Configuration);
                var     serverIP = authAPI.ApiV1AuthPingGet();

                if (!string.IsNullOrEmpty(serverIP))
                {
                    serverIP = serverIP.Replace("\"", "");
                }
                return(serverIP);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }