Grabbing Cookies in Web Browser Control - WP7

后端 未结 5 731
Happy的楠姐
Happy的楠姐 2020-12-09 00:35

In order to log into a certain part of a website the users of my application require their cookie. To do this I need to grab it and pass it to url.

Does anyone know

5条回答
  •  猫巷女王i
    2020-12-09 00:50

    There is an WebBrowser Extension class which is exactly developed for this:

    CookieCollection tempCookies = Microsoft.Phone.Controls.WebBrowserExtensions.GetCookies(this.BrowserControl);
    

提交回复
热议问题