T
T
TechNOIR2019-02-14 10:03:58
C++ / C#
TechNOIR, 2019-02-14 10:03:58

C#. How to programmatically authorize on the site through the authorization form?

Good afternoon.
How can I programmatically log in to the site through the authorization form and store the session?
For example https://avotron.ru/account/
There is a form with login and password. I so understand it is necessary to transfer the data through POST by means of WebClient?
But I don’t understand how ..
Please tell me with an example
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alex_ak1, 2019-02-14
@alex_ak1

I would do it through a web browser (I'm an esthete) - We go to the page, fill out the form, press enter on the desired button, the page is updated and we get either into Google captcha or inside the site.
Google captcha is solved by the user.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question