Export (0) Print
Expand All
1 out of 4 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.