System.Net.IWebProxy.GetProxy Method

Returns the URI of a proxy.

Syntax

public Uri GetProxy (Uri destination)

Parameters

destination
A Uri that specifies the requested Internet resource.

Returns

A Uri instance that contains the URI of the proxy used to contact destination.

Remarks

The IWebProxy.GetProxy(Uri) method returns the URI of the proxy server that handles requests to the Internet resource that is specified in the destination parameter.

Requirements

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