如何使用C#从网站获取Cookie和IP [英] How get Cookies and IP from website using C#
本文介绍了如何使用C#从网站获取Cookie和IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何检查www.amazon.com等网站是否使用cookies并设置我们的IP。
我想在Visual Studio中制作这个项目2012年,C#和W
ebBrowser控制。
感谢您的帮助!
解决方案
检查外部网站是否使用cookie的唯一方法是浏览浏览器中网站的各个页面,然后检查Cookies文件夹以查看是否有任何内容出现。没有什么可以探测网站本身来询问它是否使用cookie。
我需要编写一个应用程序GUI来包含在C#中,它将探索外部网站。
How to check if the website such as www.amazon.com uses cookies and that sets our IP.
I would like to make this project in Visual Studio 2012, C # and W
ebBrowser control.
Thanks for help!
解决方案
The only way to check to see if an external site uses cookies is to browse to various pages of a site in a browser and check the Cookies folder to see if anything showed up. There is nothing you can "probe" on the site itself to ask it if it uses cookies.
I need to write an application GUI to include in C #, which would explore external websites.
这篇关于如何使用C#从网站获取Cookie和IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文