Returns the URI of the server that is contacted for the specified resource.
- destination
- The Uri of the requested resource.
If destination is on the bypass list of the current instance, returns destination; otherwise, returns the WebProxy.Address of the current instance.
This method returns the URI that the System.Net.WebRequest uses to access the resource. WebProxy.GetProxy(Uri) compares destination with the contents of WebProxy.BypassList using the WebProxy.IsBypassed(Uri) method.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0