如何在 WebBrowser 控件中启用 inPrivate 模式
我必须制作一个带有一些额外功能的 IE 类型浏览器。
在 Visual Studio 中,我们有一个名为“WebBrowser”的组件,它使用用户电脑中安装的当前 IE 浏览器。
但是,我无法找到任何允许访问我希望通过控件公开的 InPrivate 模式的属性。
有没有办法将 InPrivate 模式与 WebBrowser 控件一起使用,或者我必须制作自己的浏览器来支持此功能?
I have to make a IE type browser with some extra features on it.
In Visual Studio, we have a component named "WebBrowser" that uses current IE browser installed in user's pc.
However, I am unable to find any property that enables access to the InPrivate mode I hoped would be exposed by control.
Is there a way to use InPrivate mode with the WebBrowser control, or would I have to make my own browser that supports this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据 EricLaw 的回答 相关问题,听起来这可能是不可能的。
您可能会陷入自己的控制或寻找替代控制的困境。
According to EricLaw's answers on a related question, it sounds like this might not be possible.
You might be stuck making your own control or looking for an alternative one.
下面是一些可以让您访问 InPrivate IE 的代码
Here's some code that will give you access to an InPrivate IE