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
- destination
Type: System. . :: . .Uri
A Uri that specifies the requested Internet resource.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.