c# - Windows Phone webbrowser retrieve cookie -


i. What I am trying to do here allow the user to enter a webpage w / web browser control in their account.

ii.Then retrieve the cookie from it.

iii. Every time a webpage is loaded / this cookie will contain a unique security arrangement in the page.

Iv. I want to recover a security token to request a http post

I have already detected the third and fourth part. But I do not know how to get the cookie from web browser control.

I have read dozens of posts, yet one can not get a clear idea to achieve this function.

Thank you people in advance :)

Reference of MSDN Doc:

Assume that you have the response as HttpWebResponse response

  foreach (cookie cookie value in response cookies) {//cookieValue.ToString ()}    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -