Share via


IFPCWebBrowserClientConfig::BrowserConfigAutoDetect property

Applies to: desktop apps only

The BrowserConfigAutoDetect property gets or sets a Boolean value that indicates whether the Web browser configuration settings are detected automatically.

This property is read/write.

Syntax

HRESULT put_BrowserConfigAutoDetect(
  VARIANT_BOOL fAutoDetect
);

HRESULT get_BrowserConfigAutoDetect(
  VARIANT_BOOL *pfAutoDetect
);
' Data type: Boolean

Property BrowserConfigAutoDetect( _
  ByVal fAutoDetect As VARIANT_BOOL, _
  ByVal pfAutoDetect As VARIANT_BOOL _
) As Boolean

Property value

Boolean value that specifies whether the Web browser configuration settings will be detected automatically.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCWebBrowserClientConfig

 

 

Build date: 7/12/2010