public string Ping() { try { AuthApi authAPI = new AuthApi(ServerUrl); var serverIP = authAPI.ApiVapiVersionAuthPingGetWithHttpInfo(ApiVersion).Data; if (!string.IsNullOrEmpty(serverIP)) { serverIP = serverIP.Replace("\"", ""); } return(serverIP); } catch (Exception ex) { throw ex; } }