Hi,
I'm trying to use a webbrowser in a C# MVC web application to download a pdf file.
I have to login and after logging in I must emulate the click of a button to download the pdf which is generated in the moment.
My problem is that the program tries to open a new webbrowser and I lose the login credentials, so I need to download the pdf without opening a new webbrowser.
Can anyone please help me?
Thank you very much.
Joaquim Margarido

Laxmidhar SahooRank #383 · 6.6K reputationPosted Mar 13, 2020, 9:30 PM EDT
Joaquim Margarido16 reputationPosted Mar 16, 2020, 3:26 AM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Mar 16, 2020, 8:06 PM EDT
Joaquim Margarido16 reputationPosted Mar 17, 2020, 6:16 AM EDT
Joaquim Margarido16 reputationPosted Mar 17, 2020, 8:21 AM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Mar 17, 2020, 8:22 PM EDT