public SearchResponse GET_Search(long asn, string sender, long?max_results = 100)
        {
            string url = Constants.url_interface + String.Format(Search, asn, sender, max_results);

            string result;

            using (var client = new CompressionEnabledWebClient())
            {
                client.Encoding = Encoding.UTF8;
                result          = RequestHelpers.FormatResponse(client.DownloadString(url));
            }

            DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(SearchResponse));
            MemoryStream ms = new MemoryStream(Encoding.Unicode.GetBytes(result));

            return(serializer.ReadObject(ms) as SearchResponse);
        }
        public QosResponse GET_Qos(string open_test_uuid)
        {
            string url = Constants.url_interface + String.Format(Qos, open_test_uuid);

            string result;

            using (var client = new CompressionEnabledWebClient())
            {
                client.Encoding = Encoding.UTF8;
                result          = RequestHelpers.FormatResponse(client.DownloadString(url));
            }

            DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(QosResponse));
            MemoryStream ms = new MemoryStream(Encoding.Unicode.GetBytes(result));

            return(serializer.ReadObject(ms) as QosResponse);
        }