string cookie = ""; foreach (string c in cookie.Split(';')) { string[] item = c.Split('='); if (item.Length == 2) { InternetSetCookie("https://twitter.com/", item[0], item[1]); } } wb.Navigate("http://zb.leju.com/");