Last post Jun 04, 2020 06:55 AM by bkkumar
May 27, 2020 08:19 AM|bkkumar|LINK
please let me know how i can read proxy settings in ubuntu 20.04.
also how i can get the bypass list from the proxy settings.
please provide me snippet of code for the above.
Thanks in advance,
May 27, 2020 03:15 PM|bruce (sqlwork.com)|LINK
the most common approach is to set the environment variable no_proxy to the bypass list, so its:
var bypassList = Environment.GetEnvironmentVariable("no_proxy");
note: in linux proxy settings are a feature of the desktop application you are using, there is no standard os setting. check the documentation of the desktop environment you are using to see what is used. the standard environment variable names are:
if the desktop does not set this by default, just add the setting to default environment.
Jun 04, 2020 06:55 AM|bkkumar|LINK
Thank you so much for your feedback.