NAnt SDK Documentation - v0.92

Proxy.GetWebProxy Method 

Gets a WebProxy instance representing the current Proxy.

[Visual Basic]
Public Function GetWebProxy() As IWebProxy
[C#]
public IWebProxy GetWebProxy();

Return Value

A WebProxy instance representing the current Proxy, or GlobalProxySelection.Select if this proxy should not be used to connect to the external resource.

See Also

Proxy Class | NAnt.Core.Types Namespace