System.Net.GlobalProxySelection.GetEmptyWebProxy Method

Returns an empty proxy instance.

Syntax

public static IWebProxy GetEmptyWebProxy ()

Returns

An System.Net.IWebProxy that contains no information.

Remarks

The GlobalProxySelection.GetEmptyWebProxy method returns a blank System.Net.IWebProxy instance to indicate that no proxy is used to access an Internet resource.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0