Share via


Address Property

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

Gets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request.

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

Syntax

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

Property Value

Type: System. . :: . .Uri
A Uri that identifies the Internet resource that actually responds to the request. The default is the URI used by the WebRequest..::..Create method to initialize the request.

Remarks

The Address property is set to the URI after any redirections that happen during the request are complete.

The URI of the original request is kept in the RequestUri property.

.NET Framework Security

See Also

Reference

HttpWebRequest Class

System.Net Namespace