Are you trying to implement "Remeber Me" in your webform project? If so, please check this
sample using cookie to achieve it.
Or if you just want to create a console app to make the log in process programmatically and automatically, i think this could conflict with the security policy which makes it not legal.
Member
39 Points
109 Posts
How to login website without user interaction - Using c# console application code?
Jun 08, 2020 05:50 AM|Neeraj Yadav|LINK
Dear All,
Can we login without providing user name and password by user ?
I would like to insert user name ,password and click on webform's login button using c# code only, No user interaction.
Thanks in advance.
Contributor
3140 Points
983 Posts
Re: How to login website without user interaction - Using c# console application code?
Jun 08, 2020 06:57 AM|Yang Shen|LINK
Hi Neeraj Yadav,
Are you trying to implement "Remeber Me" in your webform project? If so, please check this sample using cookie to achieve it.
Or if you just want to create a console app to make the log in process programmatically and automatically, i think this could conflict with the security policy which makes it not legal.
Best Regard,
Yang Shen
Member
39 Points
109 Posts
Re: How to login website without user interaction - Using c# console application code?
Jun 08, 2020 07:16 AM|Neeraj Yadav|LINK
I just want to create a console app to make the log in process programmaticalLy and automatically.
Contributor
3140 Points
983 Posts
Re: How to login website without user interaction - Using c# console application code?
Jun 08, 2020 09:44 AM|Yang Shen|LINK
Hi Neeraj Yadav,
Sorry i mentioned this is not available.
After researching, it seems the webdriver could implement this, please check How To Automate Your Login Process.
Create a console app and use webdriver to automate login.
Best Regard,
Yang Shen