WebProxy.GetDefaultProxy Method Home
This page is specific to:.NET Framework Version:1.13.03.54.0
.NET Framework Class Library
WebProxy.GetDefaultProxy Method

Reads the Internet Explorer nondynamic proxy settings.

[Visual Basic]
Public Shared Function GetDefaultProxy() As WebProxy
[C#]
public static WebProxy GetDefaultProxy();
[C++]
public: static WebProxy* GetDefaultProxy();
[JScript]
public static function GetDefaultProxy() : WebProxy;

Return Value

A WebProxy instance containing the nondynamic proxy settings from Internet Explorer 5.5.

Remarks

The GetDefaultProxy method reads the nondynamic proxy settings stored by Internet Explorer 5.5 and creates a WebProxy instance with those settings.

The GetDefaultProxy does not pick up any dynamic settings that are generated from script run by Internet Explorer, from automatic configuration entries, or from DHCP or DNS lookups.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

WebProxy Class | WebProxy Members | System.Net Namespace

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View