HttpClient.BaseAddress Property
.NET Framework (current version)
Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests.
Assembly: System.Net.Http (in System.Net.Http.dll)
Property Value
Type: System.UriThe base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests.
When sending a HttpRequestMessage with a relative Uri, the message Uri will be added to the BaseAddress property to create an absolute Uri.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: