问题描述
我必须制作一个带有一些额外功能的 IE 类型浏览器.
I have to make a IE type browser with some extra features on it.
在 Visual Studio 中,我们有一个名为WebBrowser"的组件,它使用用户电脑上安装的当前 IE 浏览器.
In Visual Studio, we have a component named "WebBrowser" that uses current IE browser installed in user's pc.
但是,我找不到任何允许访问 InPrivate 模式的属性,我希望通过控件公开.
However, I am unable to find any property that enables access to the InPrivate mode I hoped would be exposed by control.
有没有办法将 InPrivate 模式与 WebBrowser 控件一起使用,或者我必须制作自己的浏览器来支持它?
Is there a way to use InPrivate mode with the WebBrowser control, or would I have to make my own browser that supports this?
推荐答案
根据 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.
这篇关于如何在 WebBrowser 控件中启用 inPrivate 模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!