Share via


GetProxy Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the URI of a proxy.

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

Syntax

'Declaration
Function GetProxy ( _
    destination As Uri _
) As Uri
Uri GetProxy(
    Uri destination
)
Uri^ GetProxy(
    Uri^ destination
)
abstract GetProxy : 
        destination:Uri -> Uri 
function GetProxy(
    destination : Uri
) : Uri

Parameters

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

IWebProxy Interface

System.Net Namespace