HttpBaseProtocolFilter.UseProxy HttpBaseProtocolFilter.UseProxy HttpBaseProtocolFilter.UseProxy HttpBaseProtocolFilter.UseProxy HttpBaseProtocolFilter.UseProxy Property

Definition

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

public : Platform::Boolean UseProxy { get; set; }
bool UseProxy();

void UseProxy(bool useproxy);
public bool UseProxy { get; set; }
Public ReadWrite Property UseProxy As bool
var bool = httpBaseProtocolFilter.useProxy;
httpBaseProtocolFilter.useProxy = bool;

Property Value

bool bool 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.