Different proxy settings per WebBrowser control application

    Date: 02/01/08 (C Sharp)    Keywords: browser, web, google

    Greetings

    I am rearchitecting an existing enterprise application written in .NET 1.1, and one of the requirements is that, on a given machine, several instances of an application that employs the WebBrowser control may be running, but each of them needs to employ separate HTTP proxy settings.

    I know that the WinAPI call to InternetSetOption() can be used to set proxy settings on a system-wide basis, but I was wondering if any of you knew a way to set proxy settings for a WebBrowser control on a per-application basis.

    This particular application predates my employment, so while I have had to wade through its incredibly poorly-designed and messy code a few times in the past, I am not eager to do so again. I do know that the previous application managed the above functionality, though, so I know it's possible.

    Any help or information is appreciated; I have Googled the subject often and the only response I've found so far (which I know to be false) is that it simply cannot be done.

    Thanks for any help.

    Source: http://community.livejournal.com/csharp/91915.html

« Detecting a window-close on... || Remote connections that... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home