C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2712
Number of posts: 5738

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Get System Proxy Server Settings (From Internet Explorer?) Posted by gube on 5 May 2011 at 5:31 AM
I have a working procedure written in C#, running on .NET 3.5, to connect via an proxy server and everything with the connection works fine. But as I need to ship the solution to a couple of guys who don't know their proxy server settings I need to get them from their system. I know that it's popular to get the settings from the default web browser, in particular from Internet Explorer. But using
System.Net.IWebProxy IWP = System.Net.WebRequest.DefaultWebProxy
doesn't work for me.

I know some point out that the issue lies within wherever the program is running on a 'local' account or as a service in on a 'user' account. But that doesn't bring any light on the problem from my point of view.

Can this task really be that difficult, considering all the functionality seems well built in the C#/.NET-platform?

I'm running .NET v3.5. Am trying to get the proxy settings from an Internet Explorer v9.0.8112 on a Windows 7 (x64) OS. Any help wanted!

Big up!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.