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

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.

fAutoDetect

Boolean value that specifies whether the Web browser configuration settings will 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:

  1. When the client makes a Web request, the client connects to a DHCP or DNS server.
  2. 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.
  3. 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 Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCWebBrowserClientConfig


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.