This article is a mirror article of machine translation, please click here to jump to the original article.

View: 19701|Reply: 1

[WinForm] There are already COOKIEs How to open IE to pass COOKIEs to the login page

[Copy link]
Posted on 12/18/2019 8:49:57 PM | | |
SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorer();

This incoming COOKIE doesn't seem to work.
I originally wrote interentexplorer.application in another language
Then the document.cookie is passed in little by little.

Is there a way to load this in C#, or is there another way to pass in a COOKIE and open IE.?






Previous:C# code implements port exposure networking
Next:It is used to receive gold coins for Unicom's year-end rewards
Posted on 12/19/2019 8:44:05 AM |
.net/c# Start ie browser with cookies [source code]
https://www.itsvse.com/thread-3512-1-1.html
(Source: Architect_Programmer)


If you don't consider that it must be IE, you can try it

Use CefSharp in AnyCpu mode
https://www.itsvse.com/thread-7400-1-1.html
(Source: Architect_Programmer)


Or use OpenQA.Selenium.Chrome to call Google Chrome, as for writing cookies, you need to check the API of the document.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com