internal WebProxyData GetWebProxyData()
        {
            WebProxyDataBuilder builder = null;

            if (ComNetOS.IsWin7)
            {
                builder = new WinHttpWebProxyBuilder();
            }
            else
            {
                builder = new RegBlobWebProxyDataBuilder(this.m_AutoDetector.Connectoid, this.hkcu);
            }
            return(builder.Build());
        }
        internal WebProxyData GetWebProxyData()
        {
            // PS DevDiv bug #217205 / TFS Dev10 #588370: use winhttp.WinhttpGetIEProxyConfigForCurrentUser
            WebProxyDataBuilder builder = null;

            if (ComNetOS.IsWin7orLater)
            {
                builder = new WinHttpWebProxyBuilder();
            }
            else
            {
                builder = new RegBlobWebProxyDataBuilder(m_AutoDetector.Connectoid, hkcu);
            }

            return(builder.Build());
        }
        internal WebProxyData GetWebProxyData()
        {
            // PS DevDiv
            WebProxyDataBuilder builder = null;

            if (ComNetOS.IsWin7orLater)
            {
                builder = new WinHttpWebProxyBuilder();
            }
            else
            {
                builder = new RegBlobWebProxyDataBuilder(m_AutoDetector.Connectoid, hkcu);
            }

            return(builder.Build());
        }
        internal WebProxyData GetWebProxyData()
        {
            // PS DevDiv 
            WebProxyDataBuilder builder = null;

            if (ComNetOS.IsWin7orLater)
            {
                builder = new WinHttpWebProxyBuilder();
            }
            else
            {
                builder = new RegBlobWebProxyDataBuilder(m_AutoDetector.Connectoid, hkcu);
            }

            return builder.Build();
        }
예제 #5
0
        internal WebProxyData GetWebProxyData()
        {
            // PS DevDiv bug #217205 / TFS Dev10 #588370: use winhttp.WinhttpGetIEProxyConfigForCurrentUser
            WebProxyDataBuilder builder = null;

            if (ComNetOS.IsWin7orLater)
            {
                builder = new WinHttpWebProxyBuilder();
            }
            else
            {
                builder = new RegBlobWebProxyDataBuilder(m_AutoDetector.Connectoid, hkcu);
            }

            return builder.Build();
        }