如何在Webbrowser C#中更改cookie目录? [英] how to change cookie directory in webbrowser C#?

查看:94
本文介绍了如何在Webbrowser C#中更改cookie目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我需要在webbrowser组件中更改cookie目录.
该地址默认为"C:\ Users \ myUser \ Cookies".
请帮帮我.
Tnx

Hi I need to change cookie directory in webbrowser component.
It is default in this Address "C:\Users\myUser\Cookies".
Please Help me.
Tnx

推荐答案

不是一个好主意.您不能仅更改WebBrowser控件实例的文件夹路径.如果进行更改,则WebBrowser和Internet Explorer的每个实例都会更改.
Not a good idea. You can''t change the folder path for just your instance of the WebBrowser control. If you make the change, it changes for every instance of the WebBrowser and Internet Explorer.


这篇关于如何在Webbrowser C#中更改cookie目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆