WindowsProxyUsePolicy WindowsProxyUsePolicy WindowsProxyUsePolicy 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
WindowsProxyUsePolicyWindowsProxyUsePolicyWindowsProxyUsePolicyWindowsProxyUsePolicy

Fields

DoNotUseProxy DoNotUseProxy DoNotUseProxy DoNotUseProxy 0

This value indicates that a proxy will not be used.

UseCustomProxy UseCustomProxy UseCustomProxy UseCustomProxy 3

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

UseWinHttpProxy UseWinHttpProxy UseWinHttpProxy UseWinHttpProxy 1

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

UseWinInetProxy UseWinInetProxy UseWinInetProxy 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 the Internet Explorer Options and supports WPAD and PAC files.

Applies to