Part of the entrance should be relatively easy.
Use System.Net.WebClient and the UploadValues() method to submit form data. Look at the HTML source for the field values โโfor POST.
Most forms-based authorization mechanisms use an HTTP cookie to allow a user to log in. So, after you complete the POST, look at the WebClient ResponseHeaders collection for the "Set-Cookie:" header.
Save the cookie value for subsequent GET / POST on the website.
You will probably find that โretrieving data from your account and working with itโ is much more difficult (for example, screen scripting, etc.).
Here's a link with a few examples:
http://codebetter.com/blogs/brendan.tompkins/archive/2005/05/18/63329.aspx
source share