System.Net.ServicePoint.Address Property

Gets the Uniform Resource Identifier (URI) of the server that this System.Net.ServicePoint object connects to.

Syntax

public Uri Address { get; }

Value

A Uri instance representing the URI specified at the time the current instance was constructed .

Remarks

This property is read-only.

Note: The Uri.Host property of the Uri returned by this property names the host to which the current instance connects.

Requirements

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