Configuring Proxy Settings
If a proxy server with authentication is applied, an HTTP error (407) can occur. You can
prevent this error by setting the <ProxySettings>
xml element.
Example:
<ProxySettings enabled="true" useDefaultCredentials="false"
credentials="C8c/BC4QXJ4ob6OAGbVduxbmL5FG/V5RWYjfUBqs2Lc="/>
The following attributes are available:
enabled='true'
: If set totrue
, theuseDefaultCredentials
attribute is checked.useDefaultCredentials='false'
: If set totrue
, the default credentials are applied. If set tofalse
, the credentials given in thecredentials
attribute are applied.credentials='abcxyz'
: If this attribute is not given or is left empty, no credentials are applied for the proxy. If credentials are given, the encrypted value is decrypted into username and password and then applied to set the NetworkCredential object for the proxy.