Delen via


HttpClientHandler.UseProxy Property

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)

Syntax

'Declaration
Public Property UseProxy As Boolean 
    Get 
    Set
'Usage
Dim instance As HttpClientHandler 
Dim value As Boolean 

value = instance.UseProxy

instance.UseProxy = value
public bool UseProxy { get; set; }
public:
property bool UseProxy {
    bool get ();
    void set (bool value);
}
member UseProxy : bool with get, set
function get UseProxy () : boolean 
function set UseProxy (value : boolean)

Property Value

Type: System.Boolean

See Also

Reference

HttpClientHandler Class

System.Net.Http Namespace