/// <summary> /// Get all game in fundist /// Hash: Game/FullList/[IP]/[TID]/[KEY]/[PWD] /// </summary> /// <param name="TID"></param> /// <returns></returns> public async System.Threading.Tasks.Task <string> ApiGetFullList(string TID) { string strMdD5 = hashMD5.HashGameFullList(TID); using (var client = new HttpClient()) { client.BaseAddress = new Uri(URL_API_FUNDIST); client.DefaultRequestHeaders.Accept.Clear(); client.DefaultRequestHeaders.TryAddWithoutValidation("Content-Type", "application/json"); HttpResponseMessage response = (await client.PostAsync("System/Api/" + API_KEY + "/Game/FullList/?&TID=" + TID + "&Hash=" + strMdD5, null)); if (response.IsSuccessStatusCode) { return(response.Content.ReadAsStringAsync().Result); } return(null); } }