WebProxy Constructor ()


Initializes an empty instance of the WebProxy class.

Namespace:   System.Net
Assembly:  System (in System.dll)

Public Sub New

The default constructor initializes an empty instance of the WebProxy class with the Address property set to null.

When the Address property is null, the IsBypassed method returns true and the GetProxy method returns the destination address.

The following code example demonstrates calling this constructor.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top