HttpClientHandler.UseProxy Property

.NET Framework (current version)

Gets or sets a value that indicates whether the handler uses a proxy for requests.

Namespace:   System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

member UseProxy : bool with get, set

Property Value

Type: System.Boolean

true if the handler should use a proxy for requests; otherwise false. The default value is true.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top