IWebProxy interface (wuapi.h)

Contains the HTTP proxy settings.

Important  This interface is not supported on Windows 10 and Windows Server 2016. See the remarks for more details.
 

Inheritance

The IWebProxy interface inherits from the IDispatch interface. IWebProxy also has these types of members:

Methods

The IWebProxy interface has these methods.

 
IWebProxy::get_Address

Gets and sets the address and the decimal port number of the proxy server. (Get)
IWebProxy::get_AutoDetect

Gets and sets a Boolean value that indicates whether IWebProxy automatically detects proxy settings. (Get)
IWebProxy::get_BypassList

Gets and sets a collection of addresses that do not use the proxy server. (Get)
IWebProxy::get_BypassProxyOnLocal

Gets and sets a Boolean value that indicates whether local addresses bypass the proxy server. (Get)
IWebProxy::get_ReadOnly

Gets a Boolean value that indicates whether the WebProxy object is read-only.
IWebProxy::get_UserName

Gets and sets the user name to submit to the proxy server for authentication. (Get)
IWebProxy::PromptForCredentials

Prompts the user for the password to use for proxy authentication.
IWebProxy::PromptForCredentialsFromHwnd

Prompts the user for a password to use for proxy authentication using the hWnd property of the parent window.
IWebProxy::put_Address

Gets and sets the address and the decimal port number of the proxy server. (Put)
IWebProxy::put_AutoDetect

Gets and sets a Boolean value that indicates whether IWebProxy automatically detects proxy settings. (Put)
IWebProxy::put_BypassList

Gets and sets a collection of addresses that do not use the proxy server. (Put)
IWebProxy::put_BypassProxyOnLocal

Gets and sets a Boolean value that indicates whether local addresses bypass the proxy server. (Put)
IWebProxy::put_UserName

Gets and sets the user name to submit to the proxy server for authentication. (Put)
IWebProxy::SetPassword

Sets the password to submit to the proxy server for authentication.

Remarks

You can create an instance of this interface by using the WebProxy coclass. Use the Microsoft.Update.WebProxy program identifier to create the object.

Important  This interface is not supported on Windows 10 and Windows Server 2016. To configure proxy settings on these operating systems (including proxy settings for Windows Update Agent), use the Proxy page of the Network & Internet section in Settings. You can optionally use a proxy auto-config script to apply settings. If you configure proxy settings, be sure to allow access to the domains used by Windows Update listed in this article.
 

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Target Platform Windows
Header wuapi.h