My title is pretty much the question: “How do I write text to the username/password input controls of a 3rd party web page using ASP.NET?”
Just for examples sake, if I wanted to write an ASP.NET page that would initially authenticate a user on my end, and then redirect to a 3rd party site and log into it using the fields displayed with credentials my app has within it (encypted obviously), how can I do this?
If you had ever seen the old Microsoft FingerPrint reader USB control, it used to do this. The software would allow you to highlight fields on a web page, and then store the credentials you provide it, and auto write to the fields upon visiting the site and using your fingerprint. I don’t want the finger print reader, just the similar functionality.
It will be a static 3rd party site and does not have to account for any site visited. I should be able to look at the source of the site I need to log into to if this helps.
Anyone know how to go about this? Thanks!!
Basically you need to use the
WebRequestclass and simulate a user controlling a web browser and manually execute each GET and POST operation that is required to log into the site.