C# Class NuGet.ProxyCache

Inheritance: IProxyCache
Exibir arquivo Open project: themotleyfool/NuGet

Public Methods

Method Description
Add ( IWebProxy proxy ) : void
GetProxy ( Uri uri ) : IWebProxy
ProxyCache ( XmlDocument document ) : System

Private Methods

Method Description
GetConfigValue ( string key, bool decrypt = false ) : string
GetSystemProxy ( Uri uri ) : WebProxy
GetUserConfiguredProxy ( ) : WebProxy
IsSystemProxySet ( Uri uri ) : bool

Return true or false if connecting through a proxy server

Method Details

Add() public method

public Add ( IWebProxy proxy ) : void
proxy IWebProxy
return void

GetProxy() public method

public GetProxy ( Uri uri ) : IWebProxy
uri System.Uri
return IWebProxy

ProxyCache() public method

public ProxyCache ( XmlDocument document ) : System
document XmlDocument
return System