var client = new HttpClient();
var data = client.GetAsync(req).Result.Content.ReadAsStringAsync().Result;
var pattern = "\"slug\":\"([^\"]+)\"";
var reg = new Regex(pattern, RegexOptions.IgnoreCase);
var mc = reg.Matches(data);
foreach (Match m in mc)
{
productNameList.Add((m.Groups[1] as Group).Value);
}
var data = client.GetAsync(req).Result.Content.ReadAsStringAsync().Result;
var pattern = "\"slug\":\"([^\"]+)\"";
var reg = new Regex(pattern, RegexOptions.IgnoreCase);
var mc = reg.Matches(data);
foreach (Match m in mc)
{
productNameList.Add((m.Groups[1] as Group).Value);
}