How do I programmatically configuring proxy settings
Options
My company recently purchased an enterprise license for LINQPad. I'm now scripting the install so I can deploy it to our development staff. I'm running into an issue automating the activation of LINQPad. When I run the command-line activation, I receive this error.
Error: Unable to contact licensing server: The remote server returned an error: (407) Proxy Authentication Required.
I understand how to configure the proxy server through the user interface but I need to know how to do it programmatically. I assume the proxy information is stored in the registry or on file system, I just need to know where so I can script the proxy settings prior to activating the license.
Thanks.
Error: Unable to contact licensing server: The remote server returned an error: (407) Proxy Authentication Required.
I understand how to configure the proxy server through the user interface but I need to know how to do it programmatically. I assume the proxy information is stored in the registry or on file system, I just need to know where so I can script the proxy settings prior to activating the license.
Thanks.
Comments
-
Proxy settings are stored in %localappdata%\LINQPad\proxy.xml
If you first configure your proxy using the UI, you'll see that file appear and can then copy its contents.