Set proxy in the WebBrowser control (CSWebBrowserWithProxy)

The code sample demonstrates how to set proxy in the WebBrowser control

C# (60.0 KB)
 
 
 
 
 
5 Star
(2)
15,389 times
Add to favorites
7/13/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • What the actual license
    1 Posts | Last post December 23, 2014
    • What the actual license of this source-code? 
      In the header of this page it stated Apache License 2.0, but in source code 
      you will found:
      "This source is subject to the Microsoft Public License.
       See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
       All other rights reserved."
  • does not work with sites with https scheme
    1 Posts | Last post October 02, 2013
    • When the proxy is set,, the non https sites are accessible but when accessing the https sites the browser fails. Please advise..
  • CSWebBrowserWithProxy works on local machine but not on a live/virtual machine
    1 Posts | Last post December 19, 2011
    • The code works fine on my developmnt machine but when i try to run the same code on a virtual machine (where other security rules applies, don't ask me which one) the code doesn't work
      
      Looking in the eventviewer i see Audit failure issues, some details:
      Task Category : Sensitive Privilege Use
      Keyword : Audit Failure
      event ID 4673
      Service Request Information :  
      Priviliges : SeCreateGlobalPrivilege
      
      For your info, not sure if this is of any help, I did a test using firefox to see if it's the proxy server, but that works. Looks like IE policy (as i am not able to make this change manually) but i have no further clue where to check and to get this confirmed
      
      Any advise would be helpfull
      
      Thanks in advance,
      
      James