On Oct 9, 12:27 am, james <james.w...@gmail.comwrote:
Hi Guys,
I want to write an app in C# that signs in to a website and grabs some
information. Do you know how complicated that can get (with security
tokens, etc)?
Thanks,
James
Like some people stated here, its site dependant.
but here's a list of starting points:
IE Developer toolbar - to look for the commands/html/http/post
requests between the website and the browser (works on IE, for Firefox
you have FireBug)
HttpWebRequest and HttpWebResponse for using http protocol.
for the above - CookieContainer - for cookie based authentication
CredentialCache for NTLM based authentication (perhaps its used for
other things, but this is what I used it for so far)
HtmlAgilityPack - for parsing HTML, perhaps there's a better
component, so do your own research.
Hope its helpful :-)