ProxyAutoDetect
This indicates whether to use the system proxy settings or not.
Data Type
bool
Default Value
true
Remarks
This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings.
On Windows, the proxy settings are read from the Internet Options in the registry, specifically the registry key HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\. On Windows 10 and later, this corresponds to the Proxy Settings found in the Windows Settings.
Note that these settings apply only to the current user of the machine. If you're running an application as a service, the provider will not read your own user's settings. You must instead manually supply the proxy settings in the provider's connection properties.
Note: This property is not supported for .NET Standard.
To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.