This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Runs a script.
Assembly: System (in System.dll)
When the HttpWebRequest object is run, it may need to run the WPAD (Web Proxy Automatic Detection) protocol to detect whether a proxy is required for reaching the destination URL. During this process, the system downloads and compiles the PAC (Proxy Auto-Configuration) script in memory and tries to execute the FindProxyForURL function as per the PAC specification.