HttpBaseProtocolFilter.UseProxy Property

Definition

Get or set a value that indicates whether the HttpBaseProtocolFilter can use a proxy for sending HTTP requests.

public:
 property bool UseProxy { bool get(); void set(bool value); };
bool UseProxy();

void UseProxy(bool value);
public bool UseProxy { get; set; }
var boolean = httpBaseProtocolFilter.useProxy;
httpBaseProtocolFilter.useProxy = boolean;
Public Property UseProxy As Boolean

Property Value

Boolean

bool

A value that indicates whether HttpBaseProtocolFilter can use a proxy to send HTTP requests.

This value is true if HttpBaseProtocolFilter can use a proxy to send requests; otherwise false. The default value is true to allow proxies to be used.

Remarks

It is possible for this property to be true and a proxy exists, but HttpBaseProtocolFilter still doesn't use the proxy. This can occur depending on WPAD settings and whether the target URI is to an internal versus an external web server.

Many companies require the use of proxies to communicate with HTTP from a local intranet to the Internet.

Applies to