public ICollection<Uri> Search(string searchFor)
{
ICollection<Uri> is2 = null;
string str;
int num;
bool flag;
MemoryStream os = new MemoryStream();
FormUtility utility = new FormUtility(os, null);
if ((((uint) flag) + ((uint) num)) <= uint.MaxValue)
{
utility.Add("appid", "YahooDemo");
goto Label_00E2;
}
Label_0093:
if (((uint) flag) <= uint.MaxValue)
{
os.Dispose();
Uri uri = new Uri("http://search.yahooapis.com/WebSearchService/V1/webSearch?" + str);
num = 0;
flag = false;
while (!flag)
{
try
{
is2 = this.x7cdeaeac68d869b5(uri);
flag = true;
}
catch (IOException)
{
do
{
if (num == 5)
{
throw;
}
Thread.Sleep(0x1388);
}
while ((((uint) flag) - ((uint) num)) > uint.MaxValue);
}
num++;
}
return is2;
}
Label_00E2:
utility.Add("results", "100");
utility.Add("query", searchFor);
utility.Complete();
str = new ASCIIEncoding().GetString(os.GetBuffer());
goto Label_0093;
}