HttpWebClientProtocol.Proxy Property
.NET Framework (current version)
Gets or sets proxy information for making an XML Web service request through a firewall.
Assembly: System.Web.Services (in System.Web.Services.dll)
Use the Proxy property if a client needs to use different proxy settings than those in the system settings. Use the WebProxy class to set the proxy settings, because it implements IWebProxy.
Default proxy settings can be set in a configuration file. For details, see Configuring Internet Applications.
The following example sets the following proxy settings prior to invoking the Math XML Web service: the proxy server to http://proxyserver, the proxy port to 80 and the bypass to the proxy server for local addresses.
.NET Framework
Available since 1.1
Available since 1.1
Show: