IWebProxy from PAC file

Last post 02-12-2008 3:49 AM by ParrotBoy. 1 replies.

Sort Posts:

  • IWebProxy from PAC file

    02-11-2008, 6:27 AM
    • Contributor
      2,378 point Contributor
    • ParrotBoy
    • Member since 10-08-2003, 1:56 AM
    • England
    • Posts 484

    Hi, is there any way to get an IWebProxy instance based on settings in a PAC file? 

    Please mark posts as the answer if I was helpful. Thanks!

    Visit my blog
  • Re: IWebProxy from PAC file

    02-12-2008, 3:49 AM
    • Contributor
      2,378 point Contributor
    • ParrotBoy
    • Member since 10-08-2003, 1:56 AM
    • England
    • Posts 484
    Ah, after much searching around on the net I found that I can simply pass the URL of the PAC file to the WebProxy constructor: 
    objService.Proxy = new WebProxy("http://ProxySite.com/proxy.pac");

     

    Please mark posts as the answer if I was helpful. Thanks!

    Visit my blog
Page 1 of 1 (2 items)