Wie man cookies info innerhalb von ein CookieContainer? (Alle, Nicht Für Eine Bestimmte Domäne)

Sehen Sie bitte den folgenden code:

CookieContainer cookieJar = new CookieContainer();
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create("http://www.google.com");
request.CookieContainer = cookieJar;

HttpWebResponse response = (HttpWebResponse)request.GetResponse();
int cookieCount = cookieJar.Count;

Wie kann ich cookies info-innen cookieJar? (Alle, nicht nur für eine bestimmte Domäne.)
Und wie kann ich die hinzufügen oder entfernen von Cookies von?

InformationsquelleAutor SilverLight | 2012-12-02

Schreibe einen Kommentar