HttpWebRequest cookies from IE

  • Thread starter Thread starter Nathan Laff
  • Start date Start date
N

Nathan Laff

Can i make HttpWebRequest use the cookies already saved from Internet
Explorer?
Or, if not, how can I make it, or WebClient log into a web resource with a
login form on the page.
 
Nathan,

No, you can not. However, you can make calls to the functions exported
by the WinInet library (through the P/Invoke layer) to access the cookies
that internet explorer uses, and then set the values in your code.
 
Back
Top