The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServicePoint.Address Property

Gets the URI of the ServicePoint.

[Visual Basic]
Public ReadOnly Property Address As Uri
public Uri Address {get;}
public: __property Uri* get_Address();
public function get Address() : Uri;

Property Value

An instance of the Uri class containing the URI of the Internet server that this ServicePoint connects to.


[Visual Basic, C#, C++] The following example displays the value of this property.

[Visual Basic] 
' Display the ServicePoint Internet resource address.
Console.WriteLine(("Address = " + sp.Address.ToString()))

// Display the ServicePoint Internet resource address.
Console.WriteLine ("Address = {0} ", sp.Address.ToString ());

// Display the ServicePoint Internet resource address.
Console::WriteLine(S"Address = {0}", sp->Address);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

ServicePoint Class | ServicePoint Members | System.Net Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft