FtpWebResponse.ResponseUri Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the URI that sent the response to the request.

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

Public Overrides ReadOnly Property ResponseUri As Uri

Property Value

Type: System.Uri

A Uri instance that identifies the resource associated with this response.

Because of server- and resource-specific behaviors, such as redirection, the value returned by the RequestUri property is not always the same as the value returned by the ResponseUri property.

For requests that use the UploadFileWithUniqueName method, ResponseUri returns the name of the file on the server.

The following code example displays the value of this property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top