PAC file parsing in c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kangit
    New Member
    • Aug 2008
    • 1

    PAC file parsing in c#

    i have a PAC (Proxy Auto Config) file - Proxy.pac ( a simple javascript file)
    from my C# code i need to parse this file, execute functions & return the result value. how to execute the javascript functions inside PAC file through c# ?


    Thanks :)
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Pretty sure javascript generally only runs in a borwser window.
    You could attempt to build your own javascript engine, or at least a faximile that can parse and run your PAC files.
    Otherwise I think you need to run them from a WebBrowser control or something?

    Comment

    Working...