Address Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the address of the proxy server.

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

Syntax

'Declaration
Public Property Address As Uri
public Uri Address { get; set; }
public:
property Uri^ Address {
    Uri^ get ();
    void set (Uri^ value);
}
member Address : Uri with get, set
function get Address () : Uri
function set Address (value : Uri)

Property Value

Type: System. . :: . .Uri
A Uri instance that contains the address of the proxy server.

Remarks

The Address property contains the address of the proxy server. When automatic proxy detection is not enabled, and no automatic configuration script is specified, the Address property and BypassList determine the proxy used for a request.

When the Address property is null Nothing nullptr unit a null reference (Nothing in Visual Basic) , requests bypass the proxy and connect directly to the destination host.

.NET Framework Security

See Also

Reference

WebProxy Class

System.Net Namespace