Hello. I use webbrowser for authorization on the site. But on win 10, for some reason, it just refreshes the page, but authorization does not occur. On win 7, everything is fine. At the time of loading the form I decided to bind cookies using the InternetSetCookie function. But just using your hands to drive in keys and cookie values is not an option, they change there, it seems. So the question is: how can I get cookies from the film4smart.net site and write them to the InternetSetCookie function? At the moment I'm doing this:
string url = "http://film4smart.net/load/0-0-0-0-1"; InternetSetCookie(url, "0filmcorpsocses", "BLNFuKhrCWiqtamdys6Qy7Ne2Uxhm9JjFaV%5E6LNRNxmLHwoo;"); InternetSetCookie(url, "0filmcorpuispm", "1475931860-0;"); InternetSetCookie(url, "body-class", "st-cyan;"); InternetSetCookie(url, "0filmcorpuzll", "1476100531;"); InternetSetCookie(url, "0filmcorpuCoz", "1QCeH1b4ktFG0Zt;"); InternetSetCookie(url, "0filmcorppPp", "0;"); InternetSetCookie(url, "0filmcorpp2", "0;"); InternetSetCookie(url, "0filmcorppSum", "0;"); InternetSetCookie(url, "0filmcorppA16", "0;"); webBrowser1.Navigate(url); But it does not work this way, because, as I already said, cookies are constantly changing. Those. I was authorized for a period, but a couple of hours passed and all cookies changed.
I also tried to change the mode of operation of webbrowser to ie 11, but this did not help ... If you know another way to log in, I will be very grateful for it.