Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
According to the WebRequest.DefaultWebProxy documentation, it looks like the DefaultWebProxy is used if the Proxy is not explicitly set on the WebRequest object (which is similar to what we do with the Proxy property of the EnterpriseDataSourceItem, if it's not null, we set it on the WebRequest objects used by the data source). So, check the value of the DefaultWebProxy property. If it's null and the GetDefaultWebProxy() method is deprecated, then try the WebRequest.GetSystemWebProxy() which should do the same thing (and looks like the replacement for the WebProxy.GetDefaultProxy() method). If that also doesn't work, then it looks like you'll have store off the proxy settings and create a new instance of the WebProxy object with those settings.
|