CFNetwork.GetDefaultProxy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a custom T:System.Net.IWebProxy suitable for use with the standard .NET web request APIs.
public static System.Net.IWebProxy GetDefaultProxy ();
static member GetDefaultProxy : unit -> System.Net.IWebProxy
Returns
A custom T:System.Net.IWebProxy which uses GetProxiesForUri(Uri, CFProxySettings) to find a suitable proxy Uri to use.
Remarks
T:System.Net.WebRequest Uses this method to initialize its P:System.Net.WebRequest.Proxy property.