BrowserConfigAutoDetect Property of the IFPCWebBrowserClientConfig Interface
The BrowserConfigAutoDetect property gets or sets a Boolean value that indicates whether the Web browser configuration settings are detected automatically.
C++
HRESULT put_BrowserConfigAutoDetect(
VARIANT_BOOL fAutoDetect
);
HRESULT get_BrowserConfigAutoDetect(
VARIANT_BOOL* pfAutoDetect
);
Parameters
fAutoDetect
Boolean value that specifies whether the Web browser configuration settings will be detected automatically.pfAutoDetect
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the Web browser configuration settings will be detected automatically, or to VARIANT_FALSE if the Web browser configuration settings will not be detected automatically.
Return Value
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Visual Basic
Property BrowserConfigAutoDetect As Boolean
Property Value
Boolean value that specifies whether the Web browser configuration settings will be detected automatically.
Remarks
This property is read/write. Its default value is False (VARIANT_FALSE in C++).
Automatic detection allows you to configure Web browsers so that they automatically discover the Forefront TMG computer. In this way, roaming clients can connect to the Forefront TMG computer, as appropriate and when necessary. Note that automatic detection is supported only for Microsoft Internet Explorer 6 and Internet Explorer 5.
If automatic detection is enabled, a client can discover the Forefront TMG computer in the following manner:
- When the client makes a Web request, the client connects to a DHCP or DNS server.
- The DHCP or DNS server must have a Web Proxy Automatic Discovery (WPAD) entry, which points to a WPAD server that indicates the proxy server (in this case, the Forefront TMG computer). For a DNS server, the WPAD information must be published on port 80.
- The client request for configuration settings is fulfilled by the Forefront TMG computer, as identified by the WPAD entry in the DHCP or DNS server.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010