Edit

Share via


WindowsProxyUsePolicy Enum

Definition

This enumeration provides available options for the proxy settings used by an HttpClient when running on Windows.

public enum class WindowsProxyUsePolicy
public enum WindowsProxyUsePolicy
type WindowsProxyUsePolicy = 
Public Enum WindowsProxyUsePolicy
Inheritance
WindowsProxyUsePolicy

Fields

DoNotUseProxy 0

This value indicates that a proxy will not be used.

UseCustomProxy 3

This value indicates that a custom proxy is used by specifying an object that implements the IWebProxy interface.

UseWinHttpProxy 1

This value indicates that the current proxy configuration of the WinHTTP API on the machine is used.

UseWinInetProxy 2

This value indicates that the current proxy configuration of the WinINet API on the machine is used. The proxy settings can be configured using Internet options and supports WPAD and PAC files.

Applies to